iscsi: Use blk_queue_flag_set()
authorBart Van Assche <bart.vanassche@wdc.com>
Thu, 8 Mar 2018 01:10:08 +0000 (17:10 -0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 8 Mar 2018 21:13:48 +0000 (14:13 -0700)
commitbc74c33eab7590abaf7c90563089a82f62667823
treec57bb6c9442bb58833e68aa27ecd63e01a97e181
parent44e1ebe2a33b6cf70d6bee6beb1d5a198a841380
iscsi: Use blk_queue_flag_set()

Use blk_queue_flag_set() instead of open-coding this function.

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