Skip to content
Commit b90f6870 authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

ext4: Issue the discard operation *before* releasing the blocks to be reused

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: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent fd2dd9fb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment