aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen/xenfs/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/xen/xenfs/super.c')
-rw-r--r--drivers/xen/xenfs/super.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/xen/xenfs/super.c b/drivers/xen/xenfs/super.c
index a84b53c01436..459b9ac45cf5 100644
--- a/drivers/xen/xenfs/super.c
+++ b/drivers/xen/xenfs/super.c
@@ -30,7 +30,8 @@ static struct inode *xenfs_make_inode(struct super_block *sb, int mode)
30 30
31 if (ret) { 31 if (ret) {
32 ret->i_mode = mode; 32 ret->i_mode = mode;
33 ret->i_uid = ret->i_gid = 0; 33 ret->i_uid = GLOBAL_ROOT_UID;
34 ret->i_gid = GLOBAL_ROOT_GID;
34 ret->i_blocks = 0; 35 ret->i_blocks = 0;
35 ret->i_atime = ret->i_mtime = ret->i_ctime = CURRENT_TIME; 36 ret->i_atime = ret->i_mtime = ret->i_ctime = CURRENT_TIME;
36 } 37 }