diff options
Diffstat (limited to 'fs/compat.c')
-rw-r--r-- | fs/compat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/compat.c b/fs/compat.c index 9db5a6076610..fa9d721ecfee 100644 --- a/fs/compat.c +++ b/fs/compat.c | |||
@@ -1281,7 +1281,7 @@ compat_sys_vmsplice(int fd, const struct compat_iovec __user *iov32, | |||
1281 | * O_LARGEFILE flag. | 1281 | * O_LARGEFILE flag. |
1282 | */ | 1282 | */ |
1283 | asmlinkage long | 1283 | asmlinkage long |
1284 | compat_sys_open(const char __user *filename, int flags, int mode) | 1284 | compat_sys_open(const char __user *filename, int flags, umode_t mode) |
1285 | { | 1285 | { |
1286 | return do_sys_open(AT_FDCWD, filename, flags, mode); | 1286 | return do_sys_open(AT_FDCWD, filename, flags, mode); |
1287 | } | 1287 | } |
@@ -1291,7 +1291,7 @@ compat_sys_open(const char __user *filename, int flags, int mode) | |||
1291 | * O_LARGEFILE flag. | 1291 | * O_LARGEFILE flag. |
1292 | */ | 1292 | */ |
1293 | asmlinkage long | 1293 | asmlinkage long |
1294 | compat_sys_openat(unsigned int dfd, const char __user *filename, int flags, int mode) | 1294 | compat_sys_openat(unsigned int dfd, const char __user *filename, int flags, umode_t mode) |
1295 | { | 1295 | { |
1296 | return do_sys_open(dfd, filename, flags, mode); | 1296 | return do_sys_open(dfd, filename, flags, mode); |
1297 | } | 1297 | } |