aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/async-thread.c
diff options
context:
space:
mode:
authorZhao Lei <[email protected]>2015-12-15 10:18:09 +0000
committerChris Mason <[email protected]>2016-01-20 02:43:45 +0000
commitad1ba2a0c453db255f04b17101db6d05c44d8467 (patch)
tree76b4b001d9c01a6bd8376fd851266bad6256f250 /fs/btrfs/async-thread.c
parentbtrfs: Small cleanup for get index_srcdev loop (diff)
downloadkernel-ad1ba2a0c453db255f04b17101db6d05c44d8467.tar.gz
kernel-ad1ba2a0c453db255f04b17101db6d05c44d8467.zip
btrfs: Use direct way to determine raid56 write/recover mode
Old code used bbio->raid_map to determine whether in raid56 write/recover operation, because we didn't't have bbio->map_type. Now we have direct way for this condition, rid of using the function-relative data, and make the code more readable. Signed-off-by: Zhao Lei <[email protected]> Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions