]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Linux 3.7 compat, __clear_close_on_exec() removed
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 18 Oct 2012 19:37:32 +0000 (12:37 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 18 Oct 2012 20:36:44 +0000 (13:36 -0700)
commit1e0c2c2ccfb720be81051a43c405fad173775963
tree649f0e94f390c28ddb4115c52407fa963ee1fe37
parentbcb15891ab394e11615eee08bba1fd85ac32e158
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 <behlendorf1@llnl.gov>
Closes #183
config/spl-build.m4
include/linux/file_compat.h
module/splat/splat-vnode.c