summaryrefslogtreecommitdiffstats
path: root/drivers/md/raid10.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2017-04-05 14:05:51 +1000
committerShaohua Li <shli@fb.com>2017-04-11 10:12:36 -0700
commit673ca68d93879b9ffbbed874c9e70ca6e37cab15 (patch)
tree4b4f8e3b81fef6b2baaf9ec5fcbcbd6872ad66b7 /drivers/md/raid10.c
parent689389a06ce79fdced85b5115717f71c71e623e0 (diff)
downloadlinux-stable-673ca68d93879b9ffbbed874c9e70ca6e37cab15.tar.gz
linux-stable-673ca68d93879b9ffbbed874c9e70ca6e37cab15.tar.bz2
linux-stable-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/raid10.c')
0 files changed, 0 insertions, 0 deletions