OSDN Git Service

block: Move the queue_flag_*() functions from a public into a private header file
authorBart Van Assche <bart.vanassche@wdc.com>
Thu, 8 Mar 2018 01:10:12 +0000 (17:10 -0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 8 Mar 2018 21:13:48 +0000 (14:13 -0700)
commit8a0ac14b8da9b86cfbe7aace40c8d485ed5c5b97
tree4c832e2015ec68156744fa4497c0a7531ab3cace
parent1db2008b79a32db2ad41338c6c74c4735cf74f6d
block: Move the queue_flag_*() functions from a public into a private header file

This patch helps to avoid that new code gets introduced in block drivers
that manipulates queue flags without holding the queue lock when that
lock should be held.

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.h
include/linux/blkdev.h