xfs: merge the projid fields in struct xfs_icdinode
There is no point in splitting the fields like this in an purely in-memory structure. 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
8d2d878db8
commit
de7a866fd4
@@ -310,8 +310,8 @@ xfs_inode_to_log_dinode(
|
||||
to->di_format = from->di_format;
|
||||
to->di_uid = from->di_uid;
|
||||
to->di_gid = from->di_gid;
|
||||
to->di_projid_lo = from->di_projid_lo;
|
||||
to->di_projid_hi = from->di_projid_hi;
|
||||
to->di_projid_lo = from->di_projid & 0xffff;
|
||||
to->di_projid_hi = from->di_projid >> 16;
|
||||
|
||||
memset(to->di_pad, 0, sizeof(to->di_pad));
|
||||
memset(to->di_pad3, 0, sizeof(to->di_pad3));
|
||||
|
Reference in New Issue
Block a user