aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2014-10-01 20:14:15 -0400
committerBrian Behlendorf <[email protected]>2014-10-17 15:11:51 -0700
commit3c49a1698986861d76dc2c08dcce8774bde36e25 (patch)
treefe1ea42f2a7ff9a6a9f97b1e21f3c4208ed7c359 /config
parent44778f41100f88e7458d4deb2335ad09ce0bd0ea (diff)
Remove user_path_dir() wrapper
The user_path_dir() function has been available since Linux 2.6.27. There is no longer a need to maintain this compatibility code. Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'config')
-rw-r--r--config/spl-build.m420
1 files changed, 0 insertions, 20 deletions
diff --git a/config/spl-build.m4 b/config/spl-build.m4
index 712ad8470..264989d5c 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_USER_PATH_DIR
SPL_AC_SET_FS_PWD
SPL_AC_SET_FS_PWD_WITH_CONST
SPL_AC_2ARGS_VFS_UNLINK
@@ -974,25 +973,6 @@ AC_DEFUN([SPL_AC_PDE_DATA], [
])
dnl #
-dnl # 2.6.27 API change,
-dnl # The user_path_dir() replaces __user_walk()
-dnl #
-AC_DEFUN([SPL_AC_USER_PATH_DIR],
- [AC_MSG_CHECKING([whether user_path_dir() is available])
- SPL_LINUX_TRY_COMPILE_SYMBOL([
- #include <linux/fcntl.h>
- #include <linux/namei.h>
- ], [
- user_path_dir(NULL, NULL);
- ], [user_path_at], [], [
- AC_MSG_RESULT(yes)
- AC_DEFINE(HAVE_USER_PATH_DIR, 1, [user_path_dir() is available])
- ], [
- AC_MSG_RESULT(no)
- ])
-])
-
-dnl #
dnl # Symbol available in RHEL kernels not in stock kernels.
dnl #
AC_DEFUN([SPL_AC_SET_FS_PWD],