xfs: remove the icdinode di_uid/di_gid members
Use the Linux inode i_uid/i_gid members everywhere and just convert from/to the scalar value when reading or writing the on-disk inode. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
This commit is contained in:

committed by
Darrick J. Wong

parent
3d8f282150
commit
542951592c
@@ -86,8 +86,8 @@ xfs_bulkstat_one_int(
|
||||
*/
|
||||
buf->bs_projectid = ip->i_d.di_projid;
|
||||
buf->bs_ino = ino;
|
||||
buf->bs_uid = dic->di_uid;
|
||||
buf->bs_gid = dic->di_gid;
|
||||
buf->bs_uid = xfs_kuid_to_uid(inode->i_uid);
|
||||
buf->bs_gid = xfs_kgid_to_gid(inode->i_gid);
|
||||
buf->bs_size = dic->di_size;
|
||||
|
||||
buf->bs_nlink = inode->i_nlink;
|
||||
|
Reference in New Issue
Block a user