]> git.baikalelectronics.ru Git - kernel.git/commit
fs/ntfs3: Use min/max macros instated of ternary operators
authorKari Argillander <kari.argillander@gmail.com>
Tue, 7 Sep 2021 14:28:42 +0000 (17:28 +0300)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Thu, 16 Sep 2021 14:01:37 +0000 (17:01 +0300)
commit70e3a6e03631803ea90de3c6ed4a1620acaeb23c
tree4e38e7bbcf3cd099ebdfb6b1e546c82f9eeef6b9
parentba75f84c8aa5afa05837667c05d13c2008401994
fs/ntfs3: Use min/max macros instated of ternary operators

We can make code little bit more readable by using min/max macros.

These were found with Coccinelle.

Signed-off-by: Kari Argillander <kari.argillander@gmail.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/attrib.c
fs/ntfs3/bitmap.c
fs/ntfs3/fsntfs.c