From 4bb17ebfe20754078d15e14a3231e25be1d5ca9f Mon Sep 17 00:00:00 2001 From: Tomohiro Kusumi Date: Sun, 26 May 2019 05:28:56 +0900 Subject: Linux 5.2 compat: Remove config/kernel-set-fs-pwd.m4 This failed on 5.2-rc1 with "error: unknown" message, for set_fs_pwd() not being visible in both const and non-const tests. This is caused by torvalds/linux@83da1bed86. It's configurable, but we would want to be able to compile with default kbuild setting. set_fs_pwd() has never been exported with exception of some distro kernels, and set_fs_pwd() wasn't used in ZoL to begin with. The test result was used for a spl function vn_set_fs_pwd(). Reviewed-by: Brian Behlendorf Reviewed-by: loli10K Signed-off-by: Tomohiro Kusumi Closes #8777 --- module/spl/spl-vnode.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'module/spl') diff --git a/module/spl/spl-vnode.c b/module/spl/spl-vnode.c index ef5f60540..11b5e4e5a 100644 --- a/module/spl/spl-vnode.c +++ b/module/spl/spl-vnode.c @@ -643,11 +643,7 @@ EXPORT_SYMBOL(areleasef); static void -#ifdef HAVE_SET_FS_PWD_WITH_CONST -vn_set_fs_pwd(struct fs_struct *fs, const struct path *path) -#else vn_set_fs_pwd(struct fs_struct *fs, struct path *path) -#endif /* HAVE_SET_FS_PWD_WITH_CONST */ { struct path old_pwd; -- cgit v1.2.3