Commit [b5b607]  Maximize  Restore  History

ext4: fix wrong assert in ext4_mb_normalize_request()

The variable "size" is expressed as number of blocks and not as
number of clusters, this could trigger a kernel panic when using
ext4 with the size of a cluster different from the size of a block.

Cc: stable@vger.kernel.org
Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>

Maurizio Lombardi Maurizio Lombardi 2014-05-27

Theodore Ts'o Theodore Ts'o 2014-05-27

changed fs/ext4/mballoc.c
fs/ext4/mballoc.c Diff Switch to side-by-side view
Loading...

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks