From: Adrian Bunk Date: Wed, 9 Nov 2005 05:39:46 +0000 (-0800) Subject: [PATCH] fs/namei.c: make path_lookup_create() static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0ce6e62bd6591777bd92873e2db93fdbc5228122;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [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 Acked-by: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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, * @open_flags: open intent flags * @create_mode: create intent flags */ -int path_lookup_create(const char *name, unsigned int lookup_flags, - struct nameidata *nd, int open_flags, int create_mode) +static int path_lookup_create(const char *name, unsigned int lookup_flags, + struct nameidata *nd, int open_flags, + int create_mode) { return __path_lookup_intent_open(name, lookup_flags|LOOKUP_CREATE, nd, open_flags, create_mode);