diff options
author | NeilBrown <neilb@suse.com> | 2017-04-05 06:05:51 +0200 |
---|---|---|
committer | Shaohua Li <shli@fb.com> | 2017-04-11 19:12:36 +0200 |
commit | 673ca68d93879b9ffbbed874c9e70ca6e37cab15 (patch) | |
tree | 4b4f8e3b81fef6b2baaf9ec5fcbcbd6872ad66b7 /drivers/md/raid5.c | |
parent | md/raid1: simplify handle_read_error(). (diff) | |
download | linux-673ca68d93879b9ffbbed874c9e70ca6e37cab15.tar.xz linux-673ca68d93879b9ffbbed874c9e70ca6e37cab15.zip |
md/raid1: factor out flush_bio_list()
flush_pending_writes() and raid1_unplug() each contain identical
copies of a fairly large slab of code. So factor that out into
new flush_bio_list() to simplify maintenance.
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'drivers/md/raid5.c')
0 files changed, 0 insertions, 0 deletions