summaryrefslogtreecommitdiffstats
path: root/module/zfs/zvol.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/zfs/zvol.c')
-rw-r--r--module/zfs/zvol.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/zfs/zvol.c b/module/zfs/zvol.c
index cdaa838d2..574d3c306 100644
--- a/module/zfs/zvol.c
+++ b/module/zfs/zvol.c
@@ -755,6 +755,8 @@ out1:
spl_fstrans_unmark(cookie);
#ifdef HAVE_MAKE_REQUEST_FN_RET_INT
return (0);
+#elif defined(HAVE_MAKE_REQUEST_FN_RET_QC)
+ return (BLK_QC_T_NONE);
#endif
}