summaryrefslogtreecommitdiff
path: root/drivers/iio/light/apds9300.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2016-07-25 21:08:51 -0400
committerMike Snitzer <snitzer@redhat.com>2016-08-02 16:21:34 -0400
commit1814f2e3fb95b58490e56a38fefe462ffe8fb9ad (patch)
treebc878dcc44bb1e04a0ceb44bf4bcbcf8d82e98b3 /drivers/iio/light/apds9300.c
parent99f3c90d0d85708e7401a81ce3314e50bf7f2819 (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>
Diffstat (limited to 'drivers/iio/light/apds9300.c')
0 files changed, 0 insertions, 0 deletions