commit | 1814f2e3fb95b58490e56a38fefe462ffe8fb9ad | [log] [tgz] |
---|---|---|
author | Mike Snitzer <snitzer@redhat.com> | Mon Jul 25 21:08:51 2016 -0400 |
committer | Mike Snitzer <snitzer@redhat.com> | Tue Aug 02 16:21:34 2016 -0400 |
tree | bc878dcc44bb1e04a0ceb44bf4bcbcf8d82e98b3 | |
parent | 99f3c90d0d85708e7401a81ce3314e50bf7f2819 [diff] |
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>