]> git.proxmox.com Git - mirror_zfs.git/blobdiff - module/os/linux/zfs/zvol_os.c
zvol_os: fix build on Linux <3.13
[mirror_zfs.git] / module / os / linux / zfs / zvol_os.c
index 10777693249340505b7ee9d027431d58a3fb2c19..e2a6ba3a7f32e2b5329c1f044ab2e3b54220f581 100644 (file)
@@ -81,9 +81,10 @@ static boolean_t zvol_use_blk_mq = B_FALSE;
  * read and write tests to a zvol in an NVMe pool (with 16 CPUs).
  */
 static unsigned int zvol_blk_mq_blocks_per_thread = 8;
-static unsigned int zvol_num_taskqs = 0;
 #endif
 
+static unsigned int zvol_num_taskqs = 0;
+
 #ifndef        BLKDEV_DEFAULT_RQ
 /* BLKDEV_MAX_RQ was renamed to BLKDEV_DEFAULT_RQ in the 5.16 kernel */
 #define        BLKDEV_DEFAULT_RQ BLKDEV_MAX_RQ