diff options
author | Jeff Layton <jlayton@redhat.com> | 2012-12-11 18:10:06 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-12-21 00:50:02 +0100 |
commit | 1ac12b4b6d707937f9de6d09622823b2fd0c93ef (patch) | |
tree | 7ac3f66abfcce206615abe9effd9e55f26c117a9 /include | |
parent | vfs: fix readlinkat to retry on ESTALE (diff) | |
download | linux-1ac12b4b6d707937f9de6d09622823b2fd0c93ef.tar.xz linux-1ac12b4b6d707937f9de6d09622823b2fd0c93ef.zip |
vfs: turn is_dir argument to kern_path_create into a lookup_flags arg
Where we can pass in LOOKUP_DIRECTORY or LOOKUP_REVAL. Any other flags
passed in here are currently ignored.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/namei.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/namei.h b/include/linux/namei.h index 66542b644804..e998c030061d 100644 --- a/include/linux/namei.h +++ b/include/linux/namei.h @@ -65,8 +65,8 @@ extern int user_path_at_empty(int, const char __user *, unsigned, struct path *, extern int kern_path(const char *, unsigned, struct path *); -extern struct dentry *kern_path_create(int, const char *, struct path *, int); -extern struct dentry *user_path_create(int, const char __user *, struct path *, int); +extern struct dentry *kern_path_create(int, const char *, struct path *, unsigned int); +extern struct dentry *user_path_create(int, const char __user *, struct path *, unsigned int); extern void done_path_create(struct path *, struct dentry *); extern struct dentry *kern_path_locked(const char *, struct path *); extern int vfs_path_lookup(struct dentry *, struct vfsmount *, |