1. 09 Mar, 2010 2 commits
    • Jan Kara's avatar
      udf: Do not read inode before writing it · 5833ded9
      Jan Kara authored
      We needlessly read inode in udf_update_inode just before zeroing out the
      contents of the buffer. Fix it.
      Signed-off-by: default avatarJan Kara <jack@suse.cz>
      5833ded9
    • Jan Kara's avatar
      udf: Fix unalloc space handling in udf_update_inode · aae917cd
      Jan Kara authored
      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: default avatarJan Kara <jack@suse.cz>
      aae917cd
  2. 08 Mar, 2010 38 commits