summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorZhao Lei <zhaolei@cn.fujitsu.com>2016-01-12 10:52:13 +0100
committerChris Mason <clm@fb.com>2016-01-20 16:22:18 +0100
commita6111d11b8b5364d02ea2e881c81ce39d004eb32 (patch)
tree0a0aa9c0ee14665dbe0f3d436aaeedb90f6d198a /fs/btrfs/ctree.h
parentbtrfs: Remove unnecessary ClearPageUptodate for raid56 (diff)
downloadlinux-a6111d11b8b5364d02ea2e881c81ce39d004eb32.tar.xz
linux-a6111d11b8b5364d02ea2e881c81ce39d004eb32.zip
btrfs: raid56: Use raid_write_end_io for scrub
No need to create additional end_io function for scrub, it increased code size and introduced some un-unified lines, as: raid_write_parity_end_io(): int err = bio->bi_error; if (bio->bi_error) raid_write_end_io(): int err = bio->bi_error; if (err) This patch combines them. Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
0 files changed, 0 insertions, 0 deletions