]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
debugfs: release clusters only once in release_blocks_proc
authorharshads <harshads@google.com>
Fri, 23 Mar 2018 18:32:49 +0000 (11:32 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 24 Mar 2018 15:14:06 +0000 (11:14 -0400)
commit7cc4cf5c7c010a01b38c89065e4ee0465f3692b4
treec5c44a4efde971092229982b1d38e72d73453043
parent6a6393964f045d1d85503f9f4202811bde840875
debugfs: release clusters only once in release_blocks_proc

While killing file by inode in debugfs (kill_file_by_inode), if
bigalloc feature is turned on, release clusters only once. We do it by
remembering the last released cluster while releasing blocks. We
release 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>
debugfs/debugfs.c