]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitba75f84c8aa5afa05837667c05d13c2008401994
tree50732ccf6e1f0b0e6dadaa5ec636dd4a77739076
parent9073029101d15061f615dfe7d453d72bcbedfd3b
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