diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-11-09 00:39:46 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-09 10:56:40 -0500 |
commit | 0ce6e62bd6591777bd92873e2db93fdbc5228122 (patch) | |
tree | ead8fd8081711dc95dff993342a2da30ff04d8a5 /fs | |
parent | bb636547b02411ca5eef87b1d030ea3fc090a717 (diff) |
[PATCH] fs/namei.c: make path_lookup_create() static
This patch makes the needlessly global function path_lookup_create()
static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Trond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/namei.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/namei.c b/fs/namei.c index f02ec0e50fca..6dbbd42d8b95 100644 --- a/fs/namei.c +++ b/fs/namei.c | |||
@@ -1140,8 +1140,9 @@ int path_lookup_open(const char *name, unsigned int lookup_flags, | |||
1140 | * @open_flags: open intent flags | 1140 | * @open_flags: open intent flags |
1141 | * @create_mode: create intent flags | 1141 | * @create_mode: create intent flags |
1142 | */ | 1142 | */ |
1143 | int path_lookup_create(const char *name, unsigned int lookup_flags, | 1143 | static int path_lookup_create(const char *name, unsigned int lookup_flags, |
1144 | struct nameidata *nd, int open_flags, int create_mode) | 1144 | struct nameidata *nd, int open_flags, |
1145 | int create_mode) | ||
1145 | { | 1146 | { |
1146 | return __path_lookup_intent_open(name, lookup_flags|LOOKUP_CREATE, nd, | 1147 | return __path_lookup_intent_open(name, lookup_flags|LOOKUP_CREATE, nd, |
1147 | open_flags, create_mode); | 1148 | open_flags, create_mode); |