mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 04:06:22 +00:00
[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>
This commit is contained in:
parent
bb636547b0
commit
0ce6e62bd6
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue