summaryrefslogtreecommitdiff
path: root/block/blk.h
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2018-03-07 17:10:11 -0800
committerJens Axboe <axboe@kernel.dk>2018-03-08 14:13:48 -0700
commit1db2008b79a32db2ad41338c6c74c4735cf74f6d (patch)
treec417aaac9968d2d2af514c257773e7087ee0b679 /block/blk.h
parent8b904b5b6b58b9a29dcf3f82d936d9e7fd69fda6 (diff)
block: Complain if queue_flag_(set|clear)_unlocked() is abused
Since it is not safe to use queue_flag_(set|clear)_unlocked() without holding the queue lock after the sysfs entries for a queue have been created, complain if this happens. Cc: Mike Snitzer <snitzer@redhat.com> 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>
Diffstat (limited to 'block/blk.h')
0 files changed, 0 insertions, 0 deletions