workqueue: grab sw->lock for flag manipulation
authorJens Axboe <axboe@fb.com>
Mon, 7 Dec 2015 17:43:45 +0000 (10:43 -0700)
committerJens Axboe <axboe@fb.com>
Mon, 7 Dec 2015 17:43:45 +0000 (10:43 -0700)
commitb7d0bbf11651b03d1fb97f664e12c430d7a43def
tree5d803fd71e91f4cea233f8cfe788b2e9d7777004
parent2706fa00e78f61110bc6a43413ee3451a4d8a5b5
workqueue: grab sw->lock for flag manipulation

For consistency, should not matter in the shutdown path.

Signed-off-by: Jens Axboe <axboe@fb.com>
workqueue.c