]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - block/bfq-iosched.c
bfq: Use icq_to_bic() consistently
[mirror_ubuntu-bionic-kernel.git] / block / bfq-iosched.c
index 7adde1b84e19826a18ea7a189583efca2940b4fe..fd09d4d4ada7d92d7e88d348b2b214c11aef2d01 100644 (file)
@@ -239,7 +239,7 @@ static int T_slow[2];
 static int T_fast[2];
 static int device_speed_thresh[2];
 
-#define RQ_BIC(rq)             ((struct bfq_io_cq *) (rq)->elv.priv[0])
+#define RQ_BIC(rq)             icq_to_bic((rq)->elv.priv[0])
 #define RQ_BFQQ(rq)            ((rq)->elv.priv[1])
 
 struct bfq_queue *bic_to_bfqq(struct bfq_io_cq *bic, bool is_sync)