Skip to content

Commit

Permalink
userns: Convert xenfs to use kuid and kgid where appropriate
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
ebiederm committed Sep 21, 2012
1 parent a0eb3a0 commit 9a11f45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion drivers/xen/xenfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 0 additions & 2 deletions init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -932,8 +932,6 @@ config UIDGID_CONVERTED
depends on NET_9P = n

# Filesystems
depends on XENFS = n

depends on 9P_FS = n
depends on ADFS_FS = n
depends on AFFS_FS = n
Expand Down

0 comments on commit 9a11f45

Please sign in to comment.