diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/compat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/compat.c b/fs/compat.c index 5333c7d7427f..2a88477330fc 100644 --- a/fs/compat.c +++ b/fs/compat.c | |||
@@ -114,6 +114,7 @@ asmlinkage long compat_sys_newlstat(char __user * filename, | |||
114 | return error; | 114 | return error; |
115 | } | 115 | } |
116 | 116 | ||
117 | #ifndef __ARCH_WANT_STAT64 | ||
117 | asmlinkage long compat_sys_newfstatat(unsigned int dfd, char __user *filename, | 118 | asmlinkage long compat_sys_newfstatat(unsigned int dfd, char __user *filename, |
118 | struct compat_stat __user *statbuf, int flag) | 119 | struct compat_stat __user *statbuf, int flag) |
119 | { | 120 | { |
@@ -134,6 +135,7 @@ asmlinkage long compat_sys_newfstatat(unsigned int dfd, char __user *filename, | |||
134 | out: | 135 | out: |
135 | return error; | 136 | return error; |
136 | } | 137 | } |
138 | #endif | ||
137 | 139 | ||
138 | asmlinkage long compat_sys_newfstat(unsigned int fd, | 140 | asmlinkage long compat_sys_newfstat(unsigned int fd, |
139 | struct compat_stat __user * statbuf) | 141 | struct compat_stat __user * statbuf) |