Skip to content
Snippets Groups Projects
user avatar
Jan Kara authored
When we close a file, we remove preallocated blocks from it. But this
truncation was not protected by i_mutex and thus it could have raced with a
write through a different fd and cause crashes or even filesystem corruption.

Signed-off-by: default avatarJan Kara <jack@suse.cz>
cbc8cc33
History