Commit 0ce6e62bd6591777bd92873e2db93fdbc5228122

Authored by Adrian Bunk
Committed by Linus Torvalds
1 parent bb636547b0

[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>

Showing 1 changed file with 3 additions and 2 deletions Side-by-side Diff

... ... @@ -1140,8 +1140,9 @@
1140 1140 * @open_flags: open intent flags
1141 1141 * @create_mode: create intent flags
1142 1142 */
1143   -int path_lookup_create(const char *name, unsigned int lookup_flags,
1144   - struct nameidata *nd, int open_flags, int create_mode)
  1143 +static int path_lookup_create(const char *name, unsigned int lookup_flags,
  1144 + struct nameidata *nd, int open_flags,
  1145 + int create_mode)
1145 1146 {
1146 1147 return __path_lookup_intent_open(name, lookup_flags|LOOKUP_CREATE, nd,
1147 1148 open_flags, create_mode);