summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2012-10-18 12:37:32 -0700
committerBrian Behlendorf <[email protected]>2012-10-18 13:36:44 -0700
commit1e0c2c2ccfb720be81051a43c405fad173775963 (patch)
tree649f0e94f390c28ddb4115c52407fa963ee1fe37 /include
parentbcb15891ab394e11615eee08bba1fd85ac32e158 (diff)
Linux 3.7 compat, __clear_close_on_exec() removed
Commit torvalds/linux@b8318b0 moved the __clear_close_on_exec() function out of include/linux/fdtable.h and in to fs/file.c making it unavailable to the SPL. Now as it turns out we only used this function to tear down some test infrastructure for the vn_getf()/vn_releasef() SPLAT regression tests. Rather than implement even more autoconf compatibilty code to handle this we just remove the test case. This also allows us to drop three existing autoconf tests. This does mean the SPLAT tests will no longer verify these functions but historically they have never been a problem. And if we feel we absolutely need this test coverage I'm sure a more portable version of the test case could be added. Signed-off-by: Brian Behlendorf <[email protected]> Closes #183
Diffstat (limited to 'include')
-rw-r--r--include/linux/file_compat.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/file_compat.h b/include/linux/file_compat.h
index 27819d5e5..8664df672 100644
--- a/include/linux/file_compat.h
+++ b/include/linux/file_compat.h
@@ -89,9 +89,5 @@ extern kern_path_locked_t kern_path_locked_fn;
# define spl_kern_path_locked(name, path) kern_path_locked_fn(name, path)
#endif /* HAVE_KERN_PATH_LOCKED */
-#ifndef HAVE_CLEAR_CLOSE_ON_EXEC
-#define __clear_close_on_exec(fd, fdt) FD_CLR(fd, fdt->close_on_exec)
-#endif
-
#endif /* SPL_FILE_COMPAT_H */