Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
udf: Fix possible corruption when close races with write
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: Jan Kara <[email protected]>
- Loading branch information