diff options
author | Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu> | 2007-07-19 04:48:22 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-19 13:04:45 -0400 |
commit | f79c20f52532d38fd0aee7ef64e138cc1613c484 (patch) | |
tree | 889b946d5eff0c66293d3b5d56062bf0d85f73bf | |
parent | c4a7808fc3d7a346d5d12e0d69d76d66d821488b (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.c | 3 | ||||
-rw-r--r-- | include/linux/namei.h | 1 |
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 | ||
1027 | int fastcall path_walk(const char * name, struct nameidata *nd) | 1027 | static 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); | |||
2809 | EXPORT_SYMBOL(path_lookup); | 2809 | EXPORT_SYMBOL(path_lookup); |
2810 | EXPORT_SYMBOL(vfs_path_lookup); | 2810 | EXPORT_SYMBOL(vfs_path_lookup); |
2811 | EXPORT_SYMBOL(path_release); | 2811 | EXPORT_SYMBOL(path_release); |
2812 | EXPORT_SYMBOL(path_walk); | ||
2813 | EXPORT_SYMBOL(permission); | 2812 | EXPORT_SYMBOL(permission); |
2814 | EXPORT_SYMBOL(vfs_permission); | 2813 | EXPORT_SYMBOL(vfs_permission); |
2815 | EXPORT_SYMBOL(file_permission); | 2814 | EXPORT_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 | |||
71 | extern int FASTCALL(path_lookup(const char *, unsigned, struct nameidata *)); | 71 | extern int FASTCALL(path_lookup(const char *, unsigned, struct nameidata *)); |
72 | extern int vfs_path_lookup(struct dentry *, struct vfsmount *, | 72 | extern int vfs_path_lookup(struct dentry *, struct vfsmount *, |
73 | const char *, unsigned int, struct nameidata *); | 73 | const char *, unsigned int, struct nameidata *); |
74 | extern int FASTCALL(path_walk(const char *, struct nameidata *)); | ||
75 | extern void path_release(struct nameidata *); | 74 | extern void path_release(struct nameidata *); |
76 | extern void path_release_on_umount(struct nameidata *); | 75 | extern void path_release_on_umount(struct nameidata *); |
77 | 76 | ||