[-mm patch] fs/namei.c: make path_lookup_create() static
From: Adrian Bunk
Date: Sun Oct 30 2005 - 10:54:35 EST
On Mon, Oct 24, 2005 at 01:48:38AM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.14-rc4-mm1:
>...
> git-nfs.patch
>...
> Subsystem trees
>...
<-- snip -->
This patch makes the needlessly global function path_lookup_create()
static.
Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>
--- linux-2.6.14-rc5-mm1-full/fs/namei.c.old 2005-10-30 16:24:01.000000000 +0100
+++ linux-2.6.14-rc5-mm1-full/fs/namei.c 2005-10-30 16:24:25.000000000 +0100
@@ -1109,8 +1109,9 @@
* @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);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/