Skip to content

Commit

Permalink
userns: Convert freevxfs to use kuid/kgid where appropriate
Browse files Browse the repository at this point in the history
Cc: Christoph Hellwig <[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 a726ecc commit 2f83ffa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions fs/freevxfs/vxfs_inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,8 @@ vxfs_iinit(struct inode *ip, struct vxfs_inode_info *vip)
{

ip->i_mode = vxfs_transmod(vip);
ip->i_uid = (uid_t)vip->vii_uid;
ip->i_gid = (gid_t)vip->vii_gid;
i_uid_write(ip, (uid_t)vip->vii_uid);
i_gid_write(ip, (gid_t)vip->vii_gid);

set_nlink(ip, vip->vii_nlink);
ip->i_size = vip->vii_size;
Expand Down
1 change: 0 additions & 1 deletion init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,6 @@ config UIDGID_CONVERTED
depends on UBIFS_FS = n
depends on UDF_FS = n
depends on UFS_FS = n
depends on VXFS_FS = n
depends on XFS_FS = n

depends on !UML || HOSTFS = n
Expand Down

0 comments on commit 2f83ffa

Please sign in to comment.