diff options
| author | Jan Schmidt <[email protected]> | 2012-06-05 14:41:24 +0000 |
|---|---|---|
| committer | Jan Schmidt <[email protected]> | 2012-06-14 16:44:22 +0000 |
| commit | a95236d99fa56766f11056903439f55fe5038bcf (patch) | |
| tree | 90a9ea2656772900ac411cf43333ec25ed712363 /fs/jbd2/commit.c | |
| parent | Btrfs: use btrfs_read_lock_root_node in get_old_root (diff) | |
| download | kernel-a95236d99fa56766f11056903439f55fe5038bcf.tar.gz kernel-a95236d99fa56766f11056903439f55fe5038bcf.zip | |
Btrfs: fix return value for __tree_mod_log_oldest_root
In __tree_mod_log_oldest_root() we must return the found operation even if
it's not a ROOT_REPLACE operation. Otherwise, the caller assumes that there
are no operations to be rewinded and returns immediately.
The code in the caller is modified to improve readability.
Signed-off-by: Jan Schmidt <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
