Linux 4.2 compat: bdi_setup_and_register()

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
This commit is contained in:
Brian Behlendorf 2015-07-14 14:15:13 -07:00
parent 905edb405d
commit e80da86447

View File

@ -28,6 +28,7 @@
#define _ZFS_VFS_H
#include <sys/taskq.h>
#include <linux/backing-dev.h>
/*
* 2.6.28 API change,