diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2018-07-10 13:22:28 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2018-07-12 10:04:14 -0400 |
commit | ae2bb293a3e8adbc54d08cede5afc22929030c03 (patch) | |
tree | ba746f159ca0b7fe2fb5d517d5ee9850f36deda4 /fs/internal.h | |
parent | ea73ea7279884ba80896d4ea0f0443bf48b9e311 (diff) | |
download | linux-ae2bb293a3e8adbc54d08cede5afc22929030c03.tar.gz linux-ae2bb293a3e8adbc54d08cede5afc22929030c03.tar.bz2 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 |