]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/namei.c
stop_machine: fix up ftrace.c
[linux-2.6-omap-h63xx.git] / fs / namei.c
index 38ceb6e06ebae1ff0709d7b25b333faab2109efb..a7b0a0b8012873dd1c8db6fe79c45b459096af41 100644 (file)
@@ -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)
 {