summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-stripe.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2016-08-02 19:07:20 +0200
committerMike Snitzer <snitzer@redhat.com>2016-08-02 22:21:37 +0200
commiteaf9a7361f47727b166688a9f2096854eef60fbe (patch)
tree98d036f8cfcd2f4e060a83264e1a4121829cf93c /drivers/md/dm-stripe.c
parentdm rq: fix the starting and stopping of blk-mq queues (diff)
downloadlinux-eaf9a7361f47727b166688a9f2096854eef60fbe.tar.xz
linux-eaf9a7361f47727b166688a9f2096854eef60fbe.zip
dm: set DMF_SUSPENDED* _before_ clearing DMF_NOFLUSH_SUSPENDING
Otherwise, there is potential for both DMF_SUSPENDED* and DMF_NOFLUSH_SUSPENDING to not be set during dm_suspend() -- which is definitely _not_ a valid state. This fix, in conjuction with "dm rq: fix the starting and stopping of blk-mq queues", addresses the potential for request-based DM multipath's __multipath_map() to see !dm_noflush_suspending() during suspend. Reported-by: Bart Van Assche <bart.vanassche@sandisk.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/md/dm-stripe.c')
0 files changed, 0 insertions, 0 deletions