aboutsummaryrefslogtreecommitdiffstats
path: root/fs/namei.c
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
commitc4a7808fc3d7a346d5d12e0d69d76d66d821488b (patch)
treee301f6e97ebc3800baafc53161631ec3e01d83c2 /fs/namei.c
parent16b6287a5286e872abece4f42a6eb5899157a836 (diff)
fs: mark link_path_walk static
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>
Diffstat (limited to 'fs/namei.c')
-rw-r--r--fs/namei.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/namei.c b/fs/namei.c
index 3bdb29615a9d..b9fdda8c0930 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -107,6 +107,8 @@
107 * any extra contention... 107 * any extra contention...
108 */ 108 */
109 109
110static int fastcall link_path_walk(const char *name, struct nameidata *nd);
111
110/* In order to reduce some races, while at the same time doing additional 112/* In order to reduce some races, while at the same time doing additional
111 * checking and hopefully speeding things up, we copy filenames to the 113 * checking and hopefully speeding things up, we copy filenames to the
112 * kernel data space before using them.. 114 * kernel data space before using them..
@@ -998,7 +1000,7 @@ return_err:
998 * Retry the whole path once, forcing real lookup requests 1000 * Retry the whole path once, forcing real lookup requests
999 * instead of relying on the dcache. 1001 * instead of relying on the dcache.
1000 */ 1002 */
1001int fastcall link_path_walk(const char *name, struct nameidata *nd) 1003static int fastcall link_path_walk(const char *name, struct nameidata *nd)
1002{ 1004{
1003 struct nameidata save = *nd; 1005 struct nameidata save = *nd;
1004 int result; 1006 int result;