|
@@ -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)
|
|
|
{
|