aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorJan Schmidt <[email protected]>2012-06-05 14:41:24 +0000
committerJan Schmidt <[email protected]>2012-06-14 16:44:22 +0000
commita95236d99fa56766f11056903439f55fe5038bcf (patch)
tree90a9ea2656772900ac411cf43333ec25ed712363 /fs/jbd2/commit.c
parentBtrfs: use btrfs_read_lock_root_node in get_old_root (diff)
downloadkernel-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