ext4: replace the traditional ternary conditional operator with with max()/min()
authorKemeng Shi <shikemeng@huaweicloud.com>
Tue, 1 Aug 2023 14:32:00 +0000 (22:32 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 3 Aug 2023 14:47:30 +0000 (10:47 -0400)
commitde8bf0e5ee7482585450357c6d4eddec8efc5cb7
treebad34d7fb1515b0994627a48e309f4ba49079a93
parentad635507b5b22d59457b6db6d8a0e4ddf7ad2b4c
ext4: replace the traditional ternary conditional operator with with max()/min()

Replace the traditional ternary conditional operator with with max()/min()

Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Link: https://lore.kernel.org/r/20230801143204.2284343-7-shikemeng@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/mballoc.c