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 /fs/internal.h | |
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 'fs/internal.h')
-rw-r--r-- | fs/internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/internal.h b/fs/internal.h index 52abc5287f50..f3d15de44b15 100644 --- a/fs/internal.h +++ b/fs/internal.h | |||
@@ -117,6 +117,9 @@ extern struct file *do_filp_open(int dfd, const char *pathname, | |||
117 | extern struct file *do_file_open_root(struct dentry *, struct vfsmount *, | 117 | extern struct file *do_file_open_root(struct dentry *, struct vfsmount *, |
118 | const char *, const struct open_flags *, int lookup_flags); | 118 | const char *, const struct open_flags *, int lookup_flags); |
119 | 119 | ||
120 | extern long do_handle_open(int mountdirfd, | ||
121 | struct file_handle __user *ufh, int open_flag); | ||
122 | |||
120 | /* | 123 | /* |
121 | * inode.c | 124 | * inode.c |
122 | */ | 125 | */ |