Message ID | 1340996280-27123-16-git-send-email-jlayton@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/fs/namei.c b/fs/namei.c index b38d734..7c03af9 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -1941,24 +1941,6 @@ int user_path_at(int dfd, const char __user *name, unsigned flags, return err; } -static int user_path_parent(int dfd, const char __user *path, - struct nameidata *nd, char **name) -{ - char *s = getname(path); - int error; - - if (IS_ERR(s)) - return PTR_ERR(s); - - error = do_path_lookup(dfd, s, LOOKUP_PARENT, nd); - if (error) - putname(s); - else - *name = s; - - return error; -} - /* * It's inline, so penalty for filesystems that don't use sticky bit is * minimal.
...there are no more callers. Signed-off-by: Jeff Layton <jlayton@redhat.com> --- fs/namei.c | 18 ------------------ 1 files changed, 0 insertions(+), 18 deletions(-)