]> 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, 28 Apr 2022 19:39:04 +0000 (15:39 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Thu, 28 Apr 2022 19:39:04 +0000 (15:39 -0400)
commit016bb3d18d24ccf5709deafbc6e928cbeb92a160
treea064f7045332f21356ce7ea8aa7686e4b72d68fb
parent63b67bb6d0145c3ee225725e7fc5c047cd6c5065
xfs: use swap() to make dabtree code cleaner

Source kernel commit: 5b068aadf62da006891383f6b23e47bc3ad49995

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>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_da_btree.c