1. 28 2月, 2013 1 次提交
  2. 04 1月, 2012 1 次提交
  3. 18 2月, 2011 1 次提交
  4. 11 8月, 2010 1 次提交
  5. 22 5月, 2010 2 次提交
    • C
      fs/partitions: use ADDPART_FLAG_RAID instead of magic number · cc910624
      Cesar Eduardo Barros 提交于
      ADDPART_FLAG_RAID was introduced in commit d18d7682, and most places were
      converted to use it instead of a hardcoded value. However, some places seem
      to have been missed.
      
      Change all of them to the symbolic names via the following semantic patch:
      
      @@
      struct parsed_partitions *state;
      expression E;
      @@
      (
      - state->parts[E].flags = 1
      + state->parts[E].flags = ADDPART_FLAG_RAID
      |
      - state->parts[E].flags |= 1
      + state->parts[E].flags |= ADDPART_FLAG_RAID
      |
      - state->parts[E].flags = 2
      + state->parts[E].flags = ADDPART_FLAG_WHOLEDISK
      |
      - state->parts[E].flags |= 2
      + state->parts[E].flags |= ADDPART_FLAG_WHOLEDISK
      )
      Signed-off-by: NCesar Eduardo Barros <cesarb@cesarb.net>
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      cc910624
    • T
      block: use struct parsed_partitions *state universally in partition check code · 1493bf21
      Tejun Heo 提交于
      Make the following changes to partition check code.
      
      * Add ->bdev to struct parsed_partitions.
      
      * Introduce read_part_sector() which is a simple wrapper around
        read_dev_sector() which takes struct parsed_partitions *state
        instead of @bdev.
      
      * For functions which used to take @state and @bdev, drop @bdev.  For
        functions which used to take @bdev, replace it with @state.
      
      * While updating, drop superflous checks on NULL state/bdev in ldm.c.
      
      This cleans up the API a bit and enables better handling of IO errors
      during partition check as the generic partition check code now has
      much better visibility into what went wrong in the low level code
      paths.
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Cc: Ben Hutchings <ben@decadent.org.uk>
      Acked-by: NDavid S. Miller <davem@davemloft.net>
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      1493bf21
  6. 05 12月, 2006 1 次提交
  7. 01 7月, 2006 1 次提交
  8. 28 3月, 2006 1 次提交
  9. 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