diff options
Diffstat (limited to 'fs/namei.c')
-rw-r--r-- | fs/namei.c | 7 |
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 | ||
1750 | int path_lookup(const char *name, unsigned int flags, | 1750 | int 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 | ||
1756 | int kern_path(const char *name, unsigned int flags, struct path *path) | 1755 | int kern_path(const char *name, unsigned int flags, struct path *path) |
@@ -3586,7 +3585,7 @@ EXPORT_SYMBOL(page_readlink); | |||
3586 | EXPORT_SYMBOL(__page_symlink); | 3585 | EXPORT_SYMBOL(__page_symlink); |
3587 | EXPORT_SYMBOL(page_symlink); | 3586 | EXPORT_SYMBOL(page_symlink); |
3588 | EXPORT_SYMBOL(page_symlink_inode_operations); | 3587 | EXPORT_SYMBOL(page_symlink_inode_operations); |
3589 | EXPORT_SYMBOL(path_lookup); | 3588 | EXPORT_SYMBOL(kern_path_parent); |
3590 | EXPORT_SYMBOL(kern_path); | 3589 | EXPORT_SYMBOL(kern_path); |
3591 | EXPORT_SYMBOL(vfs_path_lookup); | 3590 | EXPORT_SYMBOL(vfs_path_lookup); |
3592 | EXPORT_SYMBOL(inode_permission); | 3591 | EXPORT_SYMBOL(inode_permission); |