summaryrefslogtreecommitdiff
path: root/drivers/md/dm-table.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2014-09-04 10:30:38 +0400
committerNeilBrown <neilb@suse.de>2014-09-22 05:26:01 +0400
commit669cc7ba77864e7b1ac39c9f2b2afb8730f341f4 (patch)
treec4e1f885673cd7ee7e08a0eba38a68e7badf6cca /drivers/md/dm-table.c
parentc6d119cf1b5a778e9ed60a006e2a434fcc4471a2 (diff)
downloadlinux-669cc7ba77864e7b1ac39c9f2b2afb8730f341f4.tar.xz
md/raid1: clean up request counts properly in close_sync()
If there are outstanding writes when close_sync is called, the change to ->start_next_window might cause them to decrement the wrong counter when they complete. Fix this by merging the two counters into the one that will be decremented. Having an incorrect value in a counter can cause raise_barrier() to hangs, so this is suitable for -stable. Fixes: 79ef3a8aa1cb1523cc231c9a90a278333c21f761 cc: stable@vger.kernel.org (v3.13+) Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/dm-table.c')
0 files changed, 0 insertions, 0 deletions