forked from luck/tmp_suning_uos_patched
userns: Convert freevxfs to use kuid/kgid where appropriate
Cc: Christoph Hellwig <hch@infradead.org> Acked-by: Serge Hallyn <serge.hallyn@canonical.com> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
This commit is contained in:
parent
a726ecce75
commit
2f83ffa874
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user