xfs: code cleanup in xfs_attr_leaf_entsize_{remote,local}
authorKaixu Xia <kaixuxia@tencent.com>
Wed, 23 Sep 2020 16:14:55 +0000 (09:14 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Fri, 25 Sep 2020 18:34:08 +0000 (11:34 -0700)
commit61ef5230518a3ad224549a50a01b73989acb94b9
tree930278752e851838864def60f7c00e4d37e6f1a6
parentd6b8fc6c7afa0acebaef3e17e112227237e75745
xfs: code cleanup in xfs_attr_leaf_entsize_{remote,local}

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>
fs/xfs/libxfs/xfs_da_format.h