Whamcloud - gitweb
resize2fs: fix 32-bit overflow when calculating the number of free blocks
authorTheodore Ts'o <tytso@mit.edu>
Thu, 3 Jan 2013 14:01:22 +0000 (09:01 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 3 Jan 2013 14:03:53 +0000 (09:03 -0500)
commit2279fd78fe875e612ff998fe658a2c18ee13c66b
treed5b057ee0b543e320e650ffc1cfcb2b028de9fcb
parent5d3a88fbe9e0291d7d5baa8391cbd78d9cc29767
resize2fs: fix 32-bit overflow when calculating the number of free blocks

This caused the free blocks count in the superblock to be incorrect
after resizing a 64-bit file system if the number of free blocks
overflowed a 32-bit value.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
resize/resize2fs.c