aboutsummaryrefslogtreecommitdiffstats
path: root/fs/logfs/inode.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2012-02-10 14:41:28 -0500
committerEric W. Biederman <ebiederm@xmission.com>2012-09-21 06:13:13 -0400
commit1a0a994ebe851206d02469782da6c1f9a0547d7d (patch)
treee138dc80486ef602ca6b0f157ef5336397e63c77 /fs/logfs/inode.c
parentba64e2b9e368fbe588ed5e3bb1494cc1dc4664a4 (diff)
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.c4
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)
192 li->li_height = 0; 192 li->li_height = 0;
193 li->li_used_bytes = 0; 193 li->li_used_bytes = 0;
194 li->li_block = NULL; 194 li->li_block = NULL;
195 inode->i_uid = 0; 195 i_uid_write(inode, 0);
196 inode->i_gid = 0; 196 i_gid_write(inode, 0);
197 inode->i_size = 0; 197 inode->i_size = 0;
198 inode->i_blocks = 0; 198 inode->i_blocks = 0;
199 inode->i_ctime = CURRENT_TIME; 199 inode->i_ctime = CURRENT_TIME;