linux/fs/autofs
Aleksa Sarai 6a64c5220c autofs: fix missing fput for FSCONFIG_SET_FD
If you pass an fd using FSCONFIG_SET_FD, autofs_parse_fd() "steals" the
param->file and so the fs_context infrastructure will not do fput() for
us.

Fixes: e6ec453bd0 ("autofs: convert autofs to use the new mount api")
Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
Link: https://lore.kernel.org/r/20240731-fsconfig-fsparam_fd-fixes-v2-1-e7c472224417@cyphar.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
2024-08-19 13:45:03 +02:00
..
autofs_i.h autofs: fix add autofs_parse_fd() 2023-10-24 11:04:45 +02:00
dev-ioctl.c file: Replace ksys_close with close_fd 2020-12-10 12:42:59 -06:00
expire.c dentry: switch the lists of children to hlist 2023-11-25 02:32:13 -05:00
init.c fs: autofs: add MODULE_DESCRIPTION() 2024-05-28 12:06:59 +02:00
inode.c autofs: fix missing fput for FSCONFIG_SET_FD 2024-08-19 13:45:03 +02:00
Kconfig arch/*/configs/*defconfig: Replace AUTOFS4_FS by AUTOFS_FS 2023-07-29 14:08:22 -07:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
root.c autofs: convert to new timestamp accessors 2023-10-18 13:26:18 +02:00
symlink.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 83 2019-05-24 17:37:52 +02:00
waitq.c autofs: use wake_up() instead of wake_up_interruptible(() 2023-08-04 13:57:34 +02:00