diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2012-02-10 23:41:28 +0400 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2012-09-21 14:13:13 +0400 |
commit | 1a0a994ebe851206d02469782da6c1f9a0547d7d (patch) | |
tree | e138dc80486ef602ca6b0f157ef5336397e63c77 /fs/logfs/inode.c | |
parent | ba64e2b9e368fbe588ed5e3bb1494cc1dc4664a4 (diff) | |
download | linux-1a0a994ebe851206d02469782da6c1f9a0547d7d.tar.xz |
userns: Convert logfs to use kuid/kgid where appropriate
Cc: Joern Engel <joern@logfs.org>
Cc: Prasad Joshi <prasadjoshi.linux@gmail.com>
Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'fs/logfs/inode.c')
-rw-r--r-- | fs/logfs/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/logfs/inode.c b/fs/logfs/inode.c index a422f42238b2..43f61c2013f9 100644 --- a/fs/logfs/inode.c +++ b/fs/logfs/inode.c @@ -192,8 +192,8 @@ static void logfs_init_inode(struct super_block *sb, struct inode *inode) li->li_height = 0; li->li_used_bytes = 0; li->li_block = NULL; - inode->i_uid = 0; - inode->i_gid = 0; + i_uid_write(inode, 0); + i_gid_write(inode, 0); inode->i_size = 0; inode->i_blocks = 0; inode->i_ctime = CURRENT_TIME; |