]> Pileus Git - ~andy/linux/blobdiff - drivers/xen/xenfs/super.c
userns: Convert xenfs to use kuid and kgid where appropriate
[~andy/linux] / drivers / xen / xenfs / super.c
index a84b53c01436334b68688dca58e75bd54462b023..459b9ac45cf5e267ca6d4ae3abc1cc895e8d9127 100644 (file)
@@ -30,7 +30,8 @@ static struct inode *xenfs_make_inode(struct super_block *sb, int mode)
 
        if (ret) {
                ret->i_mode = mode;
-               ret->i_uid = ret->i_gid = 0;
+               ret->i_uid = GLOBAL_ROOT_UID;
+               ret->i_gid = GLOBAL_ROOT_GID;
                ret->i_blocks = 0;
                ret->i_atime = ret->i_mtime = ret->i_ctime = CURRENT_TIME;
        }