diff options
Diffstat (limited to 'fs/stat.c')
-rw-r--r-- | fs/stat.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -102,7 +102,7 @@ int vfs_fstat(unsigned int fd, struct kstat *stat) | |||
102 | int error = -EBADF; | 102 | int error = -EBADF; |
103 | 103 | ||
104 | if (f) { | 104 | if (f) { |
105 | error = vfs_getattr(f->f_vfsmnt, f->f_dentry, stat); | 105 | error = vfs_getattr(f->f_path.mnt, f->f_path.dentry, stat); |
106 | fput(f); | 106 | fput(f); |
107 | } | 107 | } |
108 | return error; | 108 | return error; |