Comment 4 for bug 956038

Revision history for this message
Theodore Ts'o (tytso) wrote :

Yep, confirmed; normally users don't specify a size explicitly, and simply allow resize2fs to use the size of the block device as the size to use for the new file system --- and we have the appropriate tests in that code path.

But if the user specifies the size explicitly, we aren't checking to make sure the new size is too large. That's a bug, although most users (hopefully) won't try to explicitly set a new file system size, which is why no one has noticed up until now. So I wouldn't give this a very high level of importance from a distro perspective, but it's something that I will get fixed in the next release.