commit | cb83efcfd26a28b76eef8815a41158c1896fc5ba | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.com> | Wed Apr 05 14:05:50 2017 +1000 |
committer | Shaohua Li <shli@fb.com> | Tue Apr 11 10:08:47 2017 -0700 |
tree | 092bd3e26ca8d832bffbaa94d501845e81ca39ad | |
parent | c230e7e53526c223a3e1caf40747d6e37c0e4394 [diff] |
md/raid1: simplify alloc_behind_master_bio() Now that we always always pass an offset of 0 and a size that matches the bio to alloc_behind_master_bio(), we can remove the offset/size args and simplify the code. We could probably remove bio_copy_data_partial() too. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Shaohua Li <shli@fb.com>