diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-07-26 03:33:14 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-07-26 20:53:41 -0400 |
commit | 964bd183624c03680796b63b4ab97ee3905a806a (patch) | |
tree | 801fa25ccd01a7c7bf8ee793ba910edc8ce3f55a /fs/namei.c | |
parent | 516e0cc5646f377ab80fcc2ee639892eccb99853 (diff) | |
download | kernel_samsung_smdk4412-964bd183624c03680796b63b4ab97ee3905a806a.zip kernel_samsung_smdk4412-964bd183624c03680796b63b4ab97ee3905a806a.tar.gz kernel_samsung_smdk4412-964bd183624c03680796b63b4ab97ee3905a806a.tar.bz2 |
[PATCH] get rid of __user_path_lookup_open
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namei.c')
-rw-r--r-- | fs/namei.c | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -1193,19 +1193,6 @@ static int path_lookup_create(int dfd, const char *name, nd, open_flags, create_mode); } -int __user_path_lookup_open(const char __user *name, unsigned int lookup_flags, - struct nameidata *nd, int open_flags) -{ - char *tmp = getname(name); - int err = PTR_ERR(tmp); - - if (!IS_ERR(tmp)) { - err = __path_lookup_intent_open(AT_FDCWD, tmp, lookup_flags, nd, open_flags, 0); - putname(tmp); - } - return err; -} - static struct dentry *__lookup_hash(struct qstr *name, struct dentry *base, struct nameidata *nd) { |