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)
commit6e3331ee34461be37f50912295a2e924a673dbc6
tree4e38e7bbcf3cd099ebdfb6b1e546c82f9eeef6b9
parentb5322eb1ae94572f5a52e804857e641b846059f4
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