aboutsummaryrefslogtreecommitdiffstats
path: root/spl_config.h.in
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2010-07-14 11:26:54 -0700
committerBrian Behlendorf <[email protected]>2010-07-14 11:40:55 -0700
commitf0ff89fc86873a96a3f60e86e1694775b664663e (patch)
tree21099dfd7e18a032ecb11d868be580eb61b1def3 /spl_config.h.in
parent82b8c8fa64737edfb203156b245b48840139d2c1 (diff)
Linux 2.6.35 compat: filp_fsync() dropped 'stuct dentry *'
The prototype for filp_fsync() drop the unused argument 'stuct dentry *'. I've fixed this by adding the needed autoconf check and moving all of those filp related functions to file_compat.h. This will simplify handling any further API changes in the future.
Diffstat (limited to 'spl_config.h.in')
-rw-r--r--spl_config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/spl_config.h.in b/spl_config.h.in
index 5ed1991f9..8d57a63ea 100644
--- a/spl_config.h.in
+++ b/spl_config.h.in
@@ -18,6 +18,9 @@
/* vfs_unlink() wants 2 args */
#undef HAVE_2ARGS_VFS_UNLINK
+/* file_fsync() wants 3 args */
+#undef HAVE_3ARGS_FILE_FSYNC
+
/* INIT_WORK wants 3 args */
#undef HAVE_3ARGS_INIT_WORK