git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81056dd
)
udf: Fix possible corruption when close races with write
author
Jan Kara
<jack@suse.cz>
Thu, 6 Aug 2009 22:27:27 +0000
(
00:27
+0200)
committer
Jan Kara
<jack@suse.cz>
Mon, 14 Sep 2009 17:13:01 +0000
(19:13 +0200)
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 <jack@suse.cz>
No differences found