aboutsummaryrefslogtreecommitdiffstats
path: root/fs/namei.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-02-16 15:15:47 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2011-03-14 09:15:23 -0400
commitc9c6cac0c2bdbda42e7b804838648d0bc60ddb13 (patch)
treec2d9b41eb24026d6769175e9ba3c17c8093b6aad /fs/namei.c
parent15a9155fe3e8215c02b80df51ec2cac7c0d726ad (diff)
kill path_lookup()
all remaining callers pass LOOKUP_PARENT to it, so flags argument can die; renamed to kern_path_parent() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namei.c')
-rw-r--r--fs/namei.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/namei.c b/fs/namei.c
index a4689eb2df28..1d6bc8151553 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -1747,10 +1747,9 @@ static int do_path_lookup(int dfd, const char *name,
1747 return retval; 1747 return retval;
1748} 1748}
1749 1749
1750int path_lookup(const char *name, unsigned int flags, 1750int kern_path_parent(const char *name, struct nameidata *nd)
1751 struct nameidata *nd)
1752{ 1751{
1753 return do_path_lookup(AT_FDCWD, name, flags, nd); 1752 return do_path_lookup(AT_FDCWD, name, LOOKUP_PARENT, nd);
1754} 1753}
1755 1754
1756int kern_path(const char *name, unsigned int flags, struct path *path) 1755int kern_path(const char *name, unsigned int flags, struct path *path)
@@ -3586,7 +3585,7 @@ EXPORT_SYMBOL(page_readlink);
3586EXPORT_SYMBOL(__page_symlink); 3585EXPORT_SYMBOL(__page_symlink);
3587EXPORT_SYMBOL(page_symlink); 3586EXPORT_SYMBOL(page_symlink);
3588EXPORT_SYMBOL(page_symlink_inode_operations); 3587EXPORT_SYMBOL(page_symlink_inode_operations);
3589EXPORT_SYMBOL(path_lookup); 3588EXPORT_SYMBOL(kern_path_parent);
3590EXPORT_SYMBOL(kern_path); 3589EXPORT_SYMBOL(kern_path);
3591EXPORT_SYMBOL(vfs_path_lookup); 3590EXPORT_SYMBOL(vfs_path_lookup);
3592EXPORT_SYMBOL(inode_permission); 3591EXPORT_SYMBOL(inode_permission);