1. 09 2月, 2008 2 次提交
    • M
      udf: fix coding style · 4b11111a
      Marcin Slusarz 提交于
      fix coding style errors found by checkpatch:
      - assignments in if conditions
      - braces {} around single statement blocks
      - no spaces after commas
      - printks without KERN_*
      - lines longer than 80 characters
      - spaces between "type *" and variable name
      
      before: 192 errors, 561 warnings, 8987 lines checked
      after: 1 errors, 38 warnings, 9468 lines checked
      Signed-off-by: NMarcin Slusarz <marcin.slusarz@gmail.com>
      Cc: Jan Kara <jack@suse.cz>
      Cc: Christoph Hellwig <hch@lst.de>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      4b11111a
    • M
      udf: remove some ugly macros · 6c79e987
      Marcin Slusarz 提交于
      remove macros:
      - UDF_SB_PARTMAPS
      - UDF_SB_PARTTYPE
      - UDF_SB_PARTROOT
      - UDF_SB_PARTLEN
      - UDF_SB_PARTVSN
      - UDF_SB_PARTNUM
      - UDF_SB_TYPESPAR
      - UDF_SB_TYPEVIRT
      - UDF_SB_PARTFUNC
      - UDF_SB_PARTFLAGS
      - UDF_SB_VOLIDENT
      - UDF_SB_NUMPARTS
      - UDF_SB_PARTITION
      - UDF_SB_SESSION
      - UDF_SB_ANCHOR
      - UDF_SB_LASTBLOCK
      - UDF_SB_LVIDBH
      - UDF_SB_LVID
      - UDF_SB_UMASK
      - UDF_SB_GID
      - UDF_SB_UID
      - UDF_SB_RECORDTIME
      - UDF_SB_SERIALNUM
      - UDF_SB_UDFREV
      - UDF_SB_FLAGS
      - UDF_SB_VAT
      - UDF_UPDATE_UDFREV
      - UDF_SB_FREE
      and open code them
      
      convert UDF_SB_LVIDIU macro to udf_sb_lvidiu function
      
      rename some struct udf_sb_info fields:
      - s_volident to s_volume_ident
      - s_lastblock to s_last_block
      - s_lvidbh to s_lvid_bh
      - s_recordtime to s_record_time
      - s_serialnum to s_serial_number;
      - s_vat to s_vat_inode;
      Signed-off-by: NMarcin Slusarz <marcin.slusarz@gmail.com>
      Cc: Ben Fennema <bfennema@falcon.csc.calpoly.edu>
      Cc: Jan Kara <jack@suse.cz>
      Acked-by: NChristoph Hellwig <hch@infradead.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      6c79e987
  2. 17 10月, 2007 1 次提交
  3. 01 8月, 2007 1 次提交
  4. 22 7月, 2007 1 次提交
  5. 20 7月, 2007 1 次提交
  6. 17 7月, 2007 1 次提交
  7. 17 6月, 2007 1 次提交
    • J
      udf: fix possible leakage of blocks · 74584ae5
      Jan Kara 提交于
      We have to take care that when we call udf_discard_prealloc() from
      udf_clear_inode() we have to write inode ourselves afterwards (otherwise,
      some changes might be lost leading to leakage of blocks, use of free blocks
      or improperly aligned extents).
      
      Also udf_discard_prealloc() does two different things - it removes
      preallocated blocks and truncates the last extent to exactly match i_size.
      We move the latter functionality to udf_truncate_tail_extent(), call
      udf_discard_prealloc() when last reference to a file is dropped and call
      udf_truncate_tail_extent() when inode is being removed from inode cache
      (udf_clear_inode() call).
      
      We cannot call udf_truncate_tail_extent() earlier as subsequent open+write
      would find the last block of the file mapped and happily write to the end
      of it, although the last extent says it's shorter.
      
      [akpm@linux-foundation.org: Make checkpatch.pl happier]
      Signed-off-by: NJan Kara <jack@suse.cz>
      Cc: Eric Sandeen <sandeen@sandeen.net>
      Cc: Cyrill Gorcunov <gorcunov@gmail.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      74584ae5
  8. 01 6月, 2007 1 次提交
  9. 09 5月, 2007 4 次提交
  10. 01 10月, 2006 1 次提交
  11. 27 9月, 2006 1 次提交
  12. 29 6月, 2006 1 次提交
  13. 02 4月, 2006 1 次提交
  14. 26 3月, 2006 1 次提交
  15. 09 3月, 2006 1 次提交
    • P
      [PATCH] udf: fix uid/gid options and add uid/gid=ignore and forget options · 4d6660eb
      Phillip Susi 提交于
      Fix a bug in udf where it would write uid/gid = 0 to the disk for files
      owned by the id given with the uid=/gid= mount options.  It also adds 4 new
      mount options: uid/gid=forget and uid/gid=ignore.  Without any options the
      id in core and on disk always match.  Giving uid/gid=nnn specifies a
      default ID to be used in core when the on disk ID is -1.  uid/gid=ignore
      forces the in core ID to allways be used no matter what the on disk ID is.
      uid/gid=forget forces the on disk ID to always be written out as -1.
      
      The use of these options allows you to override ownerships on a disk or
      disable ownwership information from being written, allowing the media to be
      used portably between different computers and possibly different users
      without permissions issues that would require root to correct.
      Signed-off-by: NPhillip Susi <psusi@cfl.rr.com>
      Cc: Pekka Enberg <penberg@cs.helsinki.fi>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      4d6660eb
  16. 09 1月, 2006 1 次提交
  17. 03 1月, 2006 1 次提交
  18. 10 9月, 2005 1 次提交
  19. 01 5月, 2005 1 次提交
  20. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4