diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2011-01-29 08:13:26 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-03-15 02:21:44 -0400 |
commit | becfd1f37544798cbdfd788f32c827160fab98c1 (patch) | |
tree | 80353bdc7e59c661e841d2d0029bb308c0ed4da0 /include | |
parent | 990d6c2d7aee921e3bce22b2d6a750fd552262be (diff) |
vfs: Add open by file handle support
[AV: duplicate of open() guts removed; file_open_root() used instead]
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/syscalls.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index 970112613fb4..2d9b79c0f224 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h | |||
@@ -836,4 +836,7 @@ asmlinkage long sys_old_mmap(struct mmap_arg_struct __user *arg); | |||
836 | asmlinkage long sys_name_to_handle_at(int dfd, const char __user *name, | 836 | asmlinkage long sys_name_to_handle_at(int dfd, const char __user *name, |
837 | struct file_handle __user *handle, | 837 | struct file_handle __user *handle, |
838 | int __user *mnt_id, int flag); | 838 | int __user *mnt_id, int flag); |
839 | asmlinkage long sys_open_by_handle_at(int mountdirfd, | ||
840 | struct file_handle __user *handle, | ||
841 | int flags); | ||
839 | #endif | 842 | #endif |