summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ncr53c8xx.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2009-08-07 00:27:27 +0200
committerJan Kara <jack@suse.cz>2009-09-14 19:13:01 +0200
commitcbc8cc33529b0e0e55ae0ff077b8cb0b71d54c7a (patch)
tree5edace261ca6d707456d1bde03c0bf719ac8a365 /drivers/scsi/ncr53c8xx.h
parentudf: Perform preallocation only for regular files (diff)
downloadlinux-cbc8cc33529b0e0e55ae0ff077b8cb0b71d54c7a.tar.xz
linux-cbc8cc33529b0e0e55ae0ff077b8cb0b71d54c7a.zip
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 <jack@suse.cz>
Diffstat (limited to 'drivers/scsi/ncr53c8xx.h')
0 files changed, 0 insertions, 0 deletions