aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosef 'Jeff' Sipek <jsipek@cs.sunysb.edu>2007-07-19 04:48:22 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-19 13:04:45 -0400
commitf79c20f52532d38fd0aee7ef64e138cc1613c484 (patch)
tree889b946d5eff0c66293d3b5d56062bf0d85f73bf
parentc4a7808fc3d7a346d5d12e0d69d76d66d821488b (diff)
fs: remove path_walk export
Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu> Cc: Al Viro <viro@zeniv.linux.org.uk> Acked-by: Christoph Hellwig <hch@lst.de> Cc: Trond Myklebust <trond.myklebust@fys.uio.no> Cc: Neil Brown <neilb@suse.de> Cc: Michael Halcrow <mhalcrow@us.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-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