diff options
| -rw-r--r-- | fs/statfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/statfs.c b/fs/statfs.c index c219e733f553..083dc0ac9140 100644 --- a/fs/statfs.c +++ b/fs/statfs.c | |||
| @@ -94,7 +94,7 @@ retry: | |||
| 94 | 94 | ||
| 95 | int fd_statfs(int fd, struct kstatfs *st) | 95 | int fd_statfs(int fd, struct kstatfs *st) |
| 96 | { | 96 | { |
| 97 | struct fd f = fdget(fd); | 97 | struct fd f = fdget_raw(fd); |
| 98 | int error = -EBADF; | 98 | int error = -EBADF; |
| 99 | if (f.file) { | 99 | if (f.file) { |
| 100 | error = vfs_statfs(&f.file->f_path, st); | 100 | error = vfs_statfs(&f.file->f_path, st); |
