diff --git a/scst/src/dev_handlers/scst_vdisk.c b/scst/src/dev_handlers/scst_vdisk.c index b6dd0b69a..cf64a7a80 100644 --- a/scst/src/dev_handlers/scst_vdisk.c +++ b/scst/src/dev_handlers/scst_vdisk.c @@ -6903,6 +6903,7 @@ static void blockio_exec_rw(struct vdisk_cmd_params *p, bool write, bool fua) bio = hbio; hbio = hbio->bi_next; bio->bi_next = NULL; + #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 8, 0) submit_bio(bio->bi_rw, bio); #else