diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2018-07-10 19:22:28 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2018-07-12 16:04:14 +0200 |
commit | ae2bb293a3e8adbc54d08cede5afc22929030c03 (patch) | |
tree | ba746f159ca0b7fe2fb5d517d5ee9850f36deda4 /fs/internal.h | |
parent | pass ->f_flags value to alloc_empty_file() (diff) | |
download | linux-ae2bb293a3e8adbc54d08cede5afc22929030c03.tar.xz linux-ae2bb293a3e8adbc54d08cede5afc22929030c03.zip |
get rid of cred argument of vfs_open() and do_dentry_open()
always equal to ->f_cred
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/internal.h')
-rw-r--r-- | fs/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/internal.h b/fs/internal.h index 661c314aba30..baeab53aeaff 100644 --- a/fs/internal.h +++ b/fs/internal.h @@ -126,7 +126,7 @@ int do_fchownat(int dfd, const char __user *filename, uid_t user, gid_t group, int flag); extern int open_check_o_direct(struct file *f); -extern int vfs_open(const struct path *, struct file *, const struct cred *); +extern int vfs_open(const struct path *, struct file *); /* * inode.c |