dm mpath: switch to using bitops for state flags
authorMike Snitzer <snitzer@redhat.com>
Thu, 17 Mar 2016 20:32:10 +0000 (16:32 -0400)
committerMike Snitzer <snitzer@redhat.com>
Thu, 5 May 2016 19:25:50 +0000 (15:25 -0400)
commit518257b13276d07a19e6ae0608b8e5ee73383ce4
treef92d8ae8942c2062dff30de3a539d2e03ff9b7d4
parent813923b1a21b73f3068d89b817a86bea5371108c
dm mpath: switch to using bitops for state flags

Mechanical change that doesn't make any real effort to reduce the use of
m->lock; that will come later (once atomics are used for counters, etc).

Suggested-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Tested-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-mpath.c