fs/ntfs3: Use clamp/max macros instead of comparisons
authorKari Argillander <kari.argillander@gmail.com>
Tue, 7 Sep 2021 14:28:41 +0000 (17:28 +0300)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Thu, 16 Sep 2021 14:01:37 +0000 (17:01 +0300)
commitb5322eb1ae94572f5a52e804857e641b846059f4
tree50732ccf6e1f0b0e6dadaa5ec636dd4a77739076
parentf162f7b8dbc29742896f8a7e678bb31192716ae0
fs/ntfs3: Use clamp/max macros instead of comparisons

We can make code little more readable by using kernel macros clamp/max.

This were found with kernel included Coccinelle minmax script.

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