+5
−27
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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>