]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
e2fsck: release clusters only once in release_inode_blocks
authorharshads <harshads@google.com>
Tue, 13 Mar 2018 23:19:07 +0000 (16:19 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 16 Mar 2018 12:34:21 +0000 (08:34 -0400)
commit707599bf480195c98e3991fdb6b9d614a0427eef
treeb40d2fd7b88c5a770c74e6ccd4ac41b8e7a331b8
parente042869209267a331dde4924965d1cfdf9b50c9b
e2fsck: release clusters only once in release_inode_blocks

While releasing inode blocks, if bigalloc feature is turned on,
release clusters only once. We do it by remembering the last released
cluster while iterating through blocks and releasing a cluster only if
it is not already released.

Signed-off-by: Harshad Shirwadkar <harshads@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/super.c