]> git.baikalelectronics.ru Git - kernel.git/commit
bcache: Use the blk_queue_flag_{set,clear}() functions
authorBart Van Assche <bart.vanassche@wdc.com>
Thu, 8 Mar 2018 01:10:07 +0000 (17:10 -0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 8 Mar 2018 21:13:48 +0000 (14:13 -0700)
commit1a265a58c9823b2df6d79d1e9c6473f5c9d802d7
tree41fbb110f753b7cd8a99721b180df2992bc3f48e
parent6a39c8bbb77b7def423959167c52a18af76439fd
bcache: Use the blk_queue_flag_{set,clear}() functions

Use the blk_queue_flag_{set,clear}() functions instead of open-coding
these.

Cc: Kent Overstreet <kent.overstreet@gmail.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Michael Lyle <mlyle@lyle.org>
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>
drivers/md/bcache/super.c