Commit 0ce6e62b authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

[PATCH] fs/namei.c: make path_lookup_create() static

This patch makes the needlessly global function path_lookup_create()
static.
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Acked-by: default avatarTrond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent bb636547
...@@ -1140,8 +1140,9 @@ int path_lookup_open(const char *name, unsigned int lookup_flags, ...@@ -1140,8 +1140,9 @@ int path_lookup_open(const char *name, unsigned int lookup_flags,
* @open_flags: open intent flags * @open_flags: open intent flags
* @create_mode: create intent flags * @create_mode: create intent flags
*/ */
int path_lookup_create(const char *name, unsigned int lookup_flags, static int path_lookup_create(const char *name, unsigned int lookup_flags,
struct nameidata *nd, int open_flags, int create_mode) struct nameidata *nd, int open_flags,
int create_mode)
{ {
return __path_lookup_intent_open(name, lookup_flags|LOOKUP_CREATE, nd, return __path_lookup_intent_open(name, lookup_flags|LOOKUP_CREATE, nd,
open_flags, create_mode); open_flags, create_mode);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment