linux-stable/fs/autofs
Ian Kent f19910006e
autofs: fix thinko in validate_dev_ioctl()
I was so sure the per-dentry expire timeout patch worked ok but my
testing was flawed.

In validate_dev_ioctl() the check for ioctl AUTOFS_DEV_IOCTL_TIMEOUT_CMD
should use the ioctl number not the passed in ioctl command.

Fixes: 433f9d76a0 ("autofs: add per dentry expire timeout")
Cc: <stable@vger.kernel.org> # mainline only
Signed-off-by: Ian Kent <raven@themaw.net>
Link: https://lore.kernel.org/r/20241027224732.5507-1-raven@themaw.net
Signed-off-by: Christian Brauner <brauner@kernel.org>
2024-10-28 13:16:56 +01:00
..
autofs_i.h autofs: add per dentry expire timeout 2024-08-30 08:22:36 +02:00
dev-ioctl.c autofs: fix thinko in validate_dev_ioctl() 2024-10-28 13:16:56 +01:00
expire.c autofs: add per dentry expire timeout 2024-08-30 08:22:36 +02:00
init.c fs: autofs: add MODULE_DESCRIPTION() 2024-05-28 12:06:59 +02:00
inode.c autofs: add per dentry expire timeout 2024-08-30 08:22:36 +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