aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/print-tree.c
diff options
context:
space:
mode:
authorLiu Bo <[email protected]>2018-04-02 17:59:48 +0000
committerDavid Sterba <[email protected]>2018-04-05 17:22:26 +0000
commitb98def7ca6e152ee55e36863dddf6f41f12d1dc6 (patch)
treea49615ca3fc4514942e4d81b4246622d36f6b28d /fs/btrfs/print-tree.c
parentBtrfs: fix NULL pointer dereference in log_dir_items (diff)
downloadkernel-b98def7ca6e152ee55e36863dddf6f41f12d1dc6.tar.gz
kernel-b98def7ca6e152ee55e36863dddf6f41f12d1dc6.zip
Btrfs: bail out on error during replay_dir_deletes
If errors were returned by btrfs_next_leaf(), replay_dir_deletes needs to bail out, otherwise @ret would be forced to be 0 after 'break;' and the caller won't be aware of it. Fixes: e02119d5a7b4 ("Btrfs: Add a write ahead tree log to optimize synchronous operations") Reviewed-by: Nikolay Borisov <[email protected]> Signed-off-by: Liu Bo <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/print-tree.c')
0 files changed, 0 insertions, 0 deletions