summaryrefslogtreecommitdiff
path: root/block/bio.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2017-04-05 14:05:50 +1000
committerShaohua Li <shli@fb.com>2017-04-11 10:08:47 -0700
commitcb83efcfd26a28b76eef8815a41158c1896fc5ba (patch)
tree092bd3e26ca8d832bffbaa94d501845e81ca39ad /block/bio.c
parentc230e7e53526c223a3e1caf40747d6e37c0e4394 (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>
Diffstat (limited to 'block/bio.c')
0 files changed, 0 insertions, 0 deletions