summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2014-10-02 12:47:09 -0400
committerBrian Behlendorf <[email protected]>2014-10-17 15:11:51 -0700
commit137af025f687dd19994666a6c7d38661c209f0c9 (patch)
tree8600ab6fb29dffffe69e6396f23e7edd25123a55 /config
parent3c49a1698986861d76dc2c08dcce8774bde36e25 (diff)
Remove set_fs_pwd() configure check
This function has never been exported by any mainline and was only briefly available under RHEL5. Therefore this check is being removed and the code update to always use the wrapper function. The next step will be to eliminate all this code. If ZFS were updated not to assume that it's pwd was / there would be no need for this. Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'config')
-rw-r--r--config/spl-build.m419
1 files changed, 0 insertions, 19 deletions
diff --git a/config/spl-build.m4 b/config/spl-build.m4
index 264989d5c..dfa22aa85 100644
--- a/config/spl-build.m4
+++ b/config/spl-build.m4
@@ -28,7 +28,6 @@ AC_DEFUN([SPL_AC_CONFIG_KERNEL], [
SPL_AC_PDE_DATA
SPL_AC_MUTEX_OWNER
SPL_AC_MUTEX_OWNER_TASK_STRUCT
- SPL_AC_SET_FS_PWD
SPL_AC_SET_FS_PWD_WITH_CONST
SPL_AC_2ARGS_VFS_UNLINK
SPL_AC_4ARGS_VFS_RENAME
@@ -973,24 +972,6 @@ AC_DEFUN([SPL_AC_PDE_DATA], [
])
dnl #
-dnl # Symbol available in RHEL kernels not in stock kernels.
-dnl #
-AC_DEFUN([SPL_AC_SET_FS_PWD],
- [AC_MSG_CHECKING([whether set_fs_pwd() is available])
- SPL_LINUX_TRY_COMPILE_SYMBOL([
- #include <linux/spinlock.h>
- #include <linux/fs_struct.h>
- ], [
- (void) set_fs_pwd;
- ], [set_fs_pwd], [], [
- AC_MSG_RESULT(yes)
- AC_DEFINE(HAVE_SET_FS_PWD, 1, [set_fs_pwd() is available])
- ], [
- AC_MSG_RESULT(no)
- ])
-])
-
-dnl #
dnl # 3.9 API change
dnl # set_fs_pwd takes const struct path *
dnl #