Centos-kernel-stream-9/fs/autofs
Ian Kent b994812892 autofs: fix thinko in validate_dev_ioctl()
JIRA: https://issues.redhat.com/browse/RHEL-67294
Upstream status: Linus

commit f19910006effbd08398de79ca0233ea7e480616a
Author: Ian Kent <raven@themaw.net>
Date:   Mon Oct 28 06:47:17 2024 +0800

    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: 433f9d76a010 ("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>

Signed-off-by: Ian Kent <ikent@redhat.com>
2024-11-29 14:56:09 +08:00
..
Kconfig
Makefile
autofs_i.h autofs: add per dentry expire timeout 2024-11-29 14:53:51 +08:00
dev-ioctl.c autofs: fix thinko in validate_dev_ioctl() 2024-11-29 14:56:09 +08:00
expire.c autofs: add per dentry expire timeout 2024-11-29 14:53:51 +08:00
init.c
inode.c autofs: add per dentry expire timeout 2024-11-29 14:53:51 +08:00
root.c fs: port ->permission() to pass mnt_idmap 2024-10-16 10:45:20 +08:00
symlink.c
waitq.c