diff options
author | NeilBrown <neilb@suse.com> | 2017-04-05 06:05:50 +0200 |
---|---|---|
committer | Shaohua Li <shli@fb.com> | 2017-04-11 19:08:47 +0200 |
commit | cb83efcfd26a28b76eef8815a41158c1896fc5ba (patch) | |
tree | 092bd3e26ca8d832bffbaa94d501845e81ca39ad /block/bio.c | |
parent | md/raid1: simplify the splitting of requests. (diff) | |
download | linux-cb83efcfd26a28b76eef8815a41158c1896fc5ba.tar.xz linux-cb83efcfd26a28b76eef8815a41158c1896fc5ba.zip |
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>
Diffstat (limited to 'block/bio.c')
0 files changed, 0 insertions, 0 deletions