ext4: clean up mballoc criteria comments
authorTheodore Ts'o <tytso@mit.edu>
Thu, 8 Jun 2023 14:39:35 +0000 (10:39 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 26 Jun 2023 23:35:12 +0000 (19:35 -0400)
commit4c0cfebdf3c34c9cd2c55844f549fa46b1da3164
treef9e23c6cbd7a7320aefb33a1df85ecb711e56ea1
parentab8627e104696b8c1c6953ad5255def5b0821e06
ext4: clean up mballoc criteria comments

Line wrap and slightly clarify the comments describing mballoc's
cirtiera.

Define EXT4_MB_NUM_CRS as part of the enum, so that it will
automatically get updated when criteria is added or removed.

Also fix a potential unitialized use of 'cr' variable if
CONFIG_EXT4_DEBUG is enabled.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/mballoc.c