block: Use the queue_flag_*() functions instead of open-coding these
authorBart Van Assche <bart.vanassche@wdc.com>
Thu, 8 Mar 2018 01:10:03 +0000 (17:10 -0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 8 Mar 2018 21:13:48 +0000 (14:13 -0700)
commitf78bac2c8e69144781e271d9771bae8dbb4e7098
tree6897788655ef507c7a0c158fde32e2d15dadf539
parent66f91322f39cd18a01524264464c2ff4c98c936e
block: Use the queue_flag_*() functions instead of open-coding these

Except for changing the atomic queue flag manipulations that are
protected by the queue lock into non-atomic manipulations, this
patch does not change any functionality.

Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
block/blk-mq.c
block/blk-settings.c
block/blk-stat.c