ext4: Issue the discard operation *before* releasing the blocks to be reused
authorTheodore Ts'o <tytso@mit.edu>
Tue, 20 Apr 2010 20:51:59 +0000 (16:51 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 20 Apr 2010 20:51:59 +0000 (16:51 -0400)
Otherwise, we can end up having data corruption because the blocks
could get reused and then discarded!

https://bugzilla.kernel.org/show_bug.cgi?id=15579

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>

No differences found