Linux 2.6.38 compat, blkdev_get_by_path()
[zfs.git] / module / zfs / zvol.c
index 04c885f..e4487f9 100644 (file)
@@ -44,6 +44,7 @@
 #include <sys/zfs_rlock.h>
 #include <sys/zfs_znode.h>
 #include <sys/zvol.h>
+#include <linux/blkdev_compat.h>
 
 unsigned int zvol_major = ZVOL_MAJOR;
 unsigned int zvol_threads = 0;