summaryrefslogtreecommitdiffstats
path: root/kernel/sys_ni.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2011-01-29 18:43:26 +0530
committerAl Viro <viro@zeniv.linux.org.uk>2011-03-15 02:21:44 -0400
commitbecfd1f37544798cbdfd788f32c827160fab98c1 (patch)
tree80353bdc7e59c661e841d2d0029bb308c0ed4da0 /kernel/sys_ni.c
parent990d6c2d7aee921e3bce22b2d6a750fd552262be (diff)
downloadlinux-stable-becfd1f37544798cbdfd788f32c827160fab98c1.tar.gz
linux-stable-becfd1f37544798cbdfd788f32c827160fab98c1.tar.bz2
linux-stable-becfd1f37544798cbdfd788f32c827160fab98c1.zip
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 'kernel/sys_ni.c')
-rw-r--r--kernel/sys_ni.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/sys_ni.c b/kernel/sys_ni.c
index 4e013439ac28..25cc41cd8f33 100644
--- a/kernel/sys_ni.c
+++ b/kernel/sys_ni.c
@@ -189,3 +189,5 @@ cond_syscall(sys_fanotify_mark);
/* open by handle */
cond_syscall(sys_name_to_handle_at);
+cond_syscall(sys_open_by_handle_at);
+cond_syscall(compat_sys_open_by_handle_at);