mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 18:40:43 +03:00
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 <behlendorf1@llnl.gov> Reviewed-by: loli10K <ezomori.nozomu@gmail.com> Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@osnexus.com> Closes #8777
This commit is contained in:
committed by
Brian Behlendorf
parent
c3e5907fdb
commit
4bb17ebfe2
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user