Skip to content
Commit a8c1eb77 authored by Lu Hongfei's avatar Lu Hongfei Committed by Theodore Ts'o
Browse files

ext4: fix traditional comparison using max/min method



It would be better to replace the traditional ternary conditional
operator with max()/min()

Signed-off-by: default avatarLu Hongfei <luhongfei@vivo.com>
Reviewed-by: default avatarKemeng Shi <shikemeng@huaweicloud.com>
Reviewed-by: default avatarJan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20230529070930.37949-1-luhongfei@vivo.com
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent 745f17a4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment