commit | c89f1b4ca5020c9ae847b13a9a680e05fe2ce5d9 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Sun Aug 17 23:20:16 2008 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun Aug 17 23:20:16 2008 -0400 |
tree | fcadba10792854dadadbf550f52f1f77ac56ba9a | |
parent | 0ea910997b3c2ba09b65b852b9bb4dd7b4d68999 [diff] |
resize2fs: Fix double bumping of directory in-use counts When moving directories into new block groups (which would only happen when shrinking a filesystem), resize2fs would increase the directory in-use count by 2 times the necessary value, due to a change in ext2fs_inode_alloc_stats() made in e2fsprogs 1.26. This is largely harmless, but it does result in a filesystem corruption for e2fsck to fix. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>