mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
switch open and mkdir syscalls to umode_t
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
04fc66e789
commit
a218d0fdc5
7 changed files with 21 additions and 21 deletions
|
|
@ -1281,7 +1281,7 @@ compat_sys_vmsplice(int fd, const struct compat_iovec __user *iov32,
|
|||
* O_LARGEFILE flag.
|
||||
*/
|
||||
asmlinkage long
|
||||
compat_sys_open(const char __user *filename, int flags, int mode)
|
||||
compat_sys_open(const char __user *filename, int flags, umode_t mode)
|
||||
{
|
||||
return do_sys_open(AT_FDCWD, filename, flags, mode);
|
||||
}
|
||||
|
|
@ -1291,7 +1291,7 @@ compat_sys_open(const char __user *filename, int flags, int mode)
|
|||
* O_LARGEFILE flag.
|
||||
*/
|
||||
asmlinkage long
|
||||
compat_sys_openat(unsigned int dfd, const char __user *filename, int flags, int mode)
|
||||
compat_sys_openat(unsigned int dfd, const char __user *filename, int flags, umode_t mode)
|
||||
{
|
||||
return do_sys_open(dfd, filename, flags, mode);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue