]> 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)
commit1bdbad4bd5311399ad8f9f7ad2a4172333727367
tree50732ccf6e1f0b0e6dadaa5ec636dd4a77739076
parent212c2137011965fd275acf0e7ba253f5f7740719
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