diff options
author | Christoph Hellwig <hch@lst.de> | 2020-07-22 11:13:26 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-07-31 08:17:52 +0200 |
commit | b873498f99c77e7b5be3aa5ffe9ca67437232fe0 (patch) | |
tree | 6164c389372c34a25a5d1015d1d004a1c0250072 /fs/internal.h | |
parent | 4b7ca5014cbef51cdb99fd644eae4f3773747a05 (diff) | |
download | linux-b873498f99c77e7b5be3aa5ffe9ca67437232fe0.tar.bz2 |
init: add an init_chown helper
Add a simple helper to chown with a kernel space file name and switch
the early init code over to it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
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 491d1e63809b..e81b9e23c3ea 100644 --- a/fs/internal.h +++ b/fs/internal.h @@ -134,7 +134,7 @@ long do_sys_ftruncate(unsigned int fd, loff_t length, int small); int do_fchmodat(int dfd, const char __user *filename, umode_t mode); int do_fchownat(int dfd, const char __user *filename, uid_t user, gid_t group, int flag); - +int chown_common(const struct path *path, uid_t user, gid_t group); extern int vfs_open(const struct path *, struct file *); /* |