]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
e2fsck: do not forget to discard last block group
authorLukas Czerner <lczerner@redhat.com>
Mon, 5 Mar 2012 07:49:34 +0000 (08:49 +0100)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 11 Mar 2012 19:38:23 +0000 (15:38 -0400)
commitdeae60a087fceb3418efb8dd23ab557b767f925a
tree47b0c96845d0e5f8749c326bba0464adac30ab0a
parent467953263ebb406dcf27c92146d6e394bf2f94e5
e2fsck: do not forget to discard last block group

Previously when running e2fsck with '-E discard' argument the end of
the last group has not been discarded. This patch fixes it so we
always discard the end of the last group if needed.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/pass5.c