mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
fhandle: move compat syscalls from compat.c
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
e35d49f637
commit
2b8910264a
3 changed files with 13 additions and 14 deletions
12
fs/compat.c
12
fs/compat.c
|
|
@ -310,15 +310,3 @@ COMPAT_SYSCALL_DEFINE5(mount, const char __user *, dev_name,
|
|||
out:
|
||||
return retval;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_FHANDLE
|
||||
/*
|
||||
* Exactly like fs/open.c:sys_open_by_handle_at(), except that it
|
||||
* doesn't set the O_LARGEFILE flag.
|
||||
*/
|
||||
COMPAT_SYSCALL_DEFINE3(open_by_handle_at, int, mountdirfd,
|
||||
struct file_handle __user *, handle, int, flags)
|
||||
{
|
||||
return do_handle_open(mountdirfd, handle, flags);
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue