1LOOKUP_CREATE(9)                 The Linux VFS                LOOKUP_CREATE(9)
2
3
4

NAME

6       lookup_create - lookup a dentry, creating it if it doesn't exist
7

SYNOPSIS

9       struct dentry * lookup_create(struct nameidata * nd, int is_dir);
10

ARGUMENTS

12       nd
13           nameidata info
14
15       is_dir
16           directory flag
17

DESCRIPTION

19       Simple function to lookup and return a dentry and create it if it
20       doesn't exist. Is SMP-safe.
21
22       Returns with nd->path.dentry->d_inode->i_mutex locked.
23
25Kernel Hackers Manual 2.6.       November 2011                LOOKUP_CREATE(9)
Impressum