commit | a6111d11b8b5364d02ea2e881c81ce39d004eb32 | [log] [tgz] |
---|---|---|
author | Zhao Lei <zhaolei@cn.fujitsu.com> | Tue Jan 12 17:52:13 2016 +0800 |
committer | Chris Mason <clm@fb.com> | Wed Jan 20 07:22:18 2016 -0800 |
tree | 0a0aa9c0ee14665dbe0f3d436aaeedb90f6d198a | |
parent | 748f4ef4c6708e733da077a1980923b9d19db78a [diff] |
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>