Repository navigation
Commit deccf49
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: a528d35 ("statx: Add a system call to make enhanced file info available")
Reported-by: Ian Kent <raven@themaw.net>
Signed-off-by: David Howells <dhowells@redhat.com>
Tested-by: Ian Kent <raven@themaw.net>
cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>1 parent 563f400 commit deccf49
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2920 | 2920 | | |
2921 | 2921 | | |
2922 | 2922 | | |
2923 | | - | |
| 2923 | + | |
| 2924 | + | |
2924 | 2925 | | |
2925 | 2926 | | |
2926 | 2927 | | |
2927 | | - | |
| 2928 | + | |
2928 | 2929 | | |
2929 | 2930 | | |
2930 | 2931 | | |
2931 | 2932 | | |
2932 | 2933 | | |
2933 | | - | |
| 2934 | + | |
| 2935 | + | |
2934 | 2936 | | |
2935 | 2937 | | |
2936 | 2938 | | |
| |||
0 commit comments