|
@@ -3088,7 +3088,8 @@ static inline int vfs_lstat(const char __user *name, struct kstat *stat)
|
|
static inline int vfs_fstatat(int dfd, const char __user *filename,
|
|
static inline int vfs_fstatat(int dfd, const char __user *filename,
|
|
struct kstat *stat, int flags)
|
|
struct kstat *stat, int flags)
|
|
{
|
|
{
|
|
- return vfs_statx(dfd, filename, flags, stat, STATX_BASIC_STATS);
|
|
|
|
|
|
+ return vfs_statx(dfd, filename, flags | AT_NO_AUTOMOUNT,
|
|
|
|
+ stat, STATX_BASIC_STATS);
|
|
}
|
|
}
|
|
static inline int vfs_fstat(int fd, struct kstat *stat)
|
|
static inline int vfs_fstat(int fd, struct kstat *stat)
|
|
{
|
|
{
|