aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys/zpl.h
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2011-02-11 08:58:55 -0800
committerBrian Behlendorf <[email protected]>2011-02-11 09:05:51 -0800
commit7268e1bec8478639b7a1047e02ab931f30bc2f92 (patch)
treef3351407cbadd80f457d2d363541135865d82ebe /include/sys/zpl.h
parent777d4af89137907adc91377327505f40c296035d (diff)
Linux 2.6.35 compat, fops->fsync()
The fsync() callback in the file_operations structure used to take 3 arguments. The callback now only takes 2 arguments because the dentry argument was determined to be unused by all consumers. To handle this a compatibility prototype was added to ensure the right prototype is used. Our implementation never used the dentry argument either so it's just a matter of using the right prototype.
Diffstat (limited to 'include/sys/zpl.h')
-rw-r--r--include/sys/zpl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/zpl.h b/include/sys/zpl.h
index b8c3d0985..b6da0d271 100644
--- a/include/sys/zpl.h
+++ b/include/sys/zpl.h
@@ -26,6 +26,7 @@
#define _SYS_ZPL_H
#include <sys/vfs.h>
+#include <linux/vfs_compat.h>
#include <linux/xattr_compat.h>
/* zpl_inode.c */