diff options
author | Mike Snitzer <snitzer@redhat.com> | 2016-07-26 01:08:51 (GMT) |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2016-08-02 20:21:34 (GMT) |
commit | 1814f2e3fb95b58490e56a38fefe462ffe8fb9ad (patch) | |
tree | bc878dcc44bb1e04a0ceb44bf4bcbcf8d82e98b3 /block/genhd.c | |
parent | 99f3c90d0d85708e7401a81ce3314e50bf7f2819 (diff) | |
download | linux-1814f2e3fb95b58490e56a38fefe462ffe8fb9ad.tar.xz |
dm mpath: add locking to multipath_resume and must_push_back
Multiple flags were being tested without locking. Protect against
non-atomic bit changes in m->flags by holding m->lock (while testing or
setting the queue_if_no_path related flags).
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'block/genhd.c')
0 files changed, 0 insertions, 0 deletions