OSDN Git Service

resize2fs: don't free in-use clusters when moving blocks
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 24 Feb 2014 01:54:54 +0000 (20:54 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 24 Feb 2014 01:54:58 +0000 (20:54 -0500)
commit118d3f0b58e9523486a88ebc214626f20256916d
tree7b88e7081eb44bb81f5319754526755b4485df24
parent01d6aa9d8757a5b76ed8e2b2bbe3488a6a3afc9c
resize2fs: don't free in-use clusters when moving blocks

When we're moving blocks around the filesystem, ensure that freeing
the old blocks only frees the clusters if they're not in use by other
metadata.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
resize/resize2fs.c