summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2010-01-08 16:46:29 +0100
committerJan Kara <jack@suse.cz>2010-03-09 17:15:17 +0100
commitaae917cd188f397e9223001d9f6c0adfb339fd64 (patch)
tree7185f5f0b984145c1511ae657487e68504f185a7 /samples
parent57d54889cd00db2752994b389ba714138652e60c (diff)
downloadlinux-stable-aae917cd188f397e9223001d9f6c0adfb339fd64.tar.gz
linux-stable-aae917cd188f397e9223001d9f6c0adfb339fd64.tar.bz2
linux-stable-aae917cd188f397e9223001d9f6c0adfb339fd64.zip
udf: Fix unalloc space handling in udf_update_inode
Writing of inode holding unallocated space info was broken because we first cleared the buffer and after that checked whether it contains a tag meaning the block holds unallocated space information. Fix the problem by checking appropriate in memory flag instead. Also cleanup the function a bit along the way - most importantly lock buffer when modifying its contents, check for buffer_write_io_error instead of !buffer_uptodate, etc.. Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions