Skip to content
Commit deccf497 authored by David Howells's avatar David Howells Committed by Al Viro
Browse files

Make stat/lstat/fstatat pass AT_NO_AUTOMOUNT to vfs_statx()



stat/lstat/fstatat need to pass AT_NO_AUTOMOUNT to vfs_statx() as the
pre-statx code didn't set LOOKUP_AUTOMOUNT, even though fstatat() accepted
the AT_NO_AUTOMOUNT flag.

Fixes: a528d35e ("statx: Add a system call to make enhanced file info available")
Reported-by: default avatarIan Kent <raven@themaw.net>
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Tested-by: default avatarIan Kent <raven@themaw.net>
cc: stable@vger.kernel.org
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 563f4001
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment