]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: use swap() to make dabtree code cleaner
authorYang Guang <yang.guang5@zte.com.cn>
Thu, 6 Jan 2022 22:13:24 +0000 (14:13 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 20 Jan 2022 00:02:53 +0000 (16:02 -0800)
commitb3de4e7749393a01722a134a4ba3409e9507834a
tree1ed0f0a5417825b41de9677786908a0141c34f30
parent96b76900885ceadb2a7b0f0e33a148445032ba1c
xfs: use swap() to make dabtree code cleaner

Source kernel commit: d3d48fb93ba48bd3cb5c564235bfbc96fe4d0d7f

Use the macro 'swap()' defined in 'include/linux/minmax.h' to avoid
opencoding it.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Yang Guang <yang.guang5@zte.com.cn>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
libxfs/xfs_da_btree.c