Merge tag 'apparmor-pr-2018-04-10' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / drivers / target / loopback / tcm_loop.c
index 9cd4ffe..60d5b91 100644 (file)
@@ -309,7 +309,7 @@ static int tcm_loop_target_reset(struct scsi_cmnd *sc)
 
 static int tcm_loop_slave_alloc(struct scsi_device *sd)
 {
-       set_bit(QUEUE_FLAG_BIDI, &sd->request_queue->queue_flags);
+       blk_queue_flag_set(QUEUE_FLAG_BIDI, sd->request_queue);
        return 0;
 }