From 61e909608d15dc6900a710a0ceab6e101a68ac5a Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Tue, 22 Feb 2011 12:15:13 -0800 Subject: Linux 2.6.x compat, blkdev_compat.h For legacy reasons the zvol.c and vdev_disk.c Linux compatibility code ended up in sys/blkdev.h and sys/vdev_disk.h headers. While there are worse places for this code to live it should be in a linux/blkdev_compat.h header. This change moves this block device Linux compatibility code in to the linux/blkdev_compat.h header and updates all the correct #include locations. This is not a functional change or bug fix, it is just code cleanup. --- module/zfs/zvol.c | 1 + 1 file changed, 1 insertion(+) (limited to 'module') diff --git a/module/zfs/zvol.c b/module/zfs/zvol.c index 04c885f68..e4487f9a6 100644 --- a/module/zfs/zvol.c +++ b/module/zfs/zvol.c @@ -44,6 +44,7 @@ #include #include #include +#include unsigned int zvol_major = ZVOL_MAJOR; unsigned int zvol_threads = 0; -- cgit v1.2.3