]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: code cleanup in xfs_attr_leaf_entsize_{remote,local}
authorKaixu Xia <kaixuxia@tencent.com>
Thu, 12 Nov 2020 22:20:42 +0000 (17:20 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Thu, 12 Nov 2020 22:20:42 +0000 (17:20 -0500)
commit1c2b7ed16173f9188333b1965251b0b49343e6e7
tree9a5011266e4245e031511476d47d91cb08bf3fde
parent02408cf038e534eaf8dc3cc98818cf4dba5250a2
xfs: code cleanup in xfs_attr_leaf_entsize_{remote,local}

Source kernel commit: 61ef5230518a3ad224549a50a01b73989acb94b9

Cleanup the typedef usage, the unnecessary parentheses, the unnecessary
backslash and use the open-coded round_up call in
xfs_attr_leaf_entsize_{remote,local}.

Signed-off-by: Kaixu Xia <kaixuxia@tencent.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_da_format.h