fs/ntfs3: Use swap() to improve code
authorThorsten Blum <thorsten.blum@toblux.com>
Wed, 31 Jul 2024 13:54:04 +0000 (15:54 +0200)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Tue, 3 Sep 2024 13:58:38 +0000 (16:58 +0300)
commita4f2b9a787679697e6792676298cac5c6b9b0ccb
tree8ddd98535f7afad5eef506822f9ebeff209e6c59
parent8400291e289ee6b2bf9779ff1c83a291501f017b
fs/ntfs3: Use swap() to improve code

Use the swap() macro to simplify the code and improve its readability.

Fixes the following Coccinelle/coccicheck warning reported by
swap.cocci:

  WARNING opportunity for swap()

Compile-tested only.

Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/lib/lzx_decompress.c