aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/namei.c3
-rw-r--r--include/linux/namei.h1
2 files changed, 1 insertions, 3 deletions
diff --git a/fs/namei.c b/fs/namei.c
index b9fdda8c0930..a83160acd748 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -1024,7 +1024,7 @@ static int fastcall link_path_walk(const char *name, struct nameidata *nd)
1024 return result; 1024 return result;
1025} 1025}
1026 1026
1027int fastcall path_walk(const char * name, struct nameidata *nd) 1027static int fastcall path_walk(const char * name, struct nameidata *nd)
1028{ 1028{
1029 current->total_link_count = 0; 1029 current->total_link_count = 0;
1030 return link_path_walk(name, nd); 1030 return link_path_walk(name, nd);
@@ -2809,7 +2809,6 @@ EXPORT_SYMBOL(page_symlink_inode_operations);
2809EXPORT_SYMBOL(path_lookup); 2809EXPORT_SYMBOL(path_lookup);
2810EXPORT_SYMBOL(vfs_path_lookup); 2810EXPORT_SYMBOL(vfs_path_lookup);
2811EXPORT_SYMBOL(path_release); 2811EXPORT_SYMBOL(path_release);
2812EXPORT_SYMBOL(path_walk);
2813EXPORT_SYMBOL(permission); 2812EXPORT_SYMBOL(permission);
2814EXPORT_SYMBOL(vfs_permission); 2813EXPORT_SYMBOL(vfs_permission);
2815EXPORT_SYMBOL(file_permission); 2814EXPORT_SYMBOL(file_permission);
diff --git a/include/linux/namei.h b/include/linux/namei.h
index 18ea81265068..6c38efbd810f 100644
--- a/include/linux/namei.h
+++ b/include/linux/namei.h
@@ -71,7 +71,6 @@ extern int FASTCALL(__user_walk_fd(int dfd, const char __user *, unsigned, struc
71extern int FASTCALL(path_lookup(const char *, unsigned, struct nameidata *)); 71extern int FASTCALL(path_lookup(const char *, unsigned, struct nameidata *));
72extern int vfs_path_lookup(struct dentry *, struct vfsmount *, 72extern int vfs_path_lookup(struct dentry *, struct vfsmount *,
73 const char *, unsigned int, struct nameidata *); 73 const char *, unsigned int, struct nameidata *);
74extern int FASTCALL(path_walk(const char *, struct nameidata *));
75extern void path_release(struct nameidata *); 74extern void path_release(struct nameidata *);
76extern void path_release_on_umount(struct nameidata *); 75extern void path_release_on_umount(struct nameidata *);
77 76