xfs: use swap() to make code cleaner
authorChangcheng Deng <deng.changcheng@zte.com.cn>
Fri, 29 Oct 2021 18:29:36 +0000 (11:29 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Sat, 30 Oct 2021 16:28:55 +0000 (09:28 -0700)
commit2a09b575074ff3ed23907b6f6f3da87af41f592b
treeb3558a34476dcff110640d28be1d98d1676f85f4
parent0b9007ec7b9f6d5914fe62b78acc0e3a841b8545
xfs: use swap() to make code cleaner

Use swap() in order to make code cleaner. Issue found by coccinelle.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Changcheng Deng <deng.changcheng@zte.com.cn>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/xfs_inode.c