mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
userns: Convert xenfs to use kuid and kgid where appropriate
Cc: Ian Campbell <[email protected]> Cc: Konrad Rzeszutek Wilk <[email protected]> Acked-by: Serge Hallyn <[email protected]> Signed-off-by: Eric W. Biederman <[email protected]>
This commit is contained in:
parent
a0eb3a05a8
commit
9a11f4513c
2 changed files with 2 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue