]> git.proxmox.com Git - mirror_zfs.git/commitdiff
Linux 4.2 compat: bdi_setup_and_register()
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 14 Jul 2015 21:15:13 +0000 (14:15 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 17 Jul 2015 16:15:43 +0000 (09:15 -0700)
The vfs_compat.h header should include the linux/backing-dev.h header
because it depends on the bdi_* functions defined there.  In previous
kernels this header was being indirectly included which prevented a
build failure.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Richard Yao <ryao@gentoo.org>
Closes #3596

include/linux/vfs_compat.h

index e8f84484107651a956718b737a96040127708d41..40832d9ddda770d8a80b053f93920be8f8c41728 100644 (file)
@@ -28,6 +28,7 @@
 #define        _ZFS_VFS_H
 
 #include <sys/taskq.h>
+#include <linux/backing-dev.h>
 
 /*
  * 2.6.28 API change,