1. 31 Oct, 2006 6 commits
    • Paolo 'Blaisorblade' Giarrusso's avatar
      [PATCH] uml ubd driver: allow using up to 16 UBD devices · 97d88ac8
      Paolo 'Blaisorblade' Giarrusso authored
      With 256 minors and 16 minors used per each UBD device, we can allow the use
      of up to 16 UBD devices per UML.
      
      Also chnage parse_unit and leave to the caller (which already do it) the check
      for excess numbers, since this is just supposed to do raw parsing.
      Signed-off-by: default avatarPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
      Cc: Jeff Dike <jdike@addtoit.com>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      97d88ac8
    • Andrew Morton's avatar
      [PATCH] find_bd_holder() fix · 36a561d6
      Andrew Morton authored
      fs/block_dev.c: In function 'find_bd_holder':
      fs/block_dev.c:666: warning: return makes integer from pointer without a cast
      fs/block_dev.c:669: warning: return makes integer from pointer without a cast
      fs/block_dev.c: In function 'add_bd_holder':
      fs/block_dev.c:685: warning: unused variable 'tmp'
      fs/block_dev.c: In function 'bd_claim_by_kobject':
      fs/block_dev.c:773: warning: assignment makes pointer from integer without a cast
      Acked-by: default avatarJun'ichi Nomura <j-nomura@ce.jp.nec.com>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      36a561d6
    • Linus Torvalds's avatar
      Linux 2.6.19-rc4 · ae99a78a
      Linus Torvalds authored
      Not halloween. Not scary. Just a regular -rc release.
      ae99a78a
    • Linus Torvalds's avatar
      Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus · 528ba4ef
      Linus Torvalds authored
      * 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus:
        [MIPS] MIPS doesn't need compat_sys_getdents.
        [MIPS] JMR3927: Fixup another victim of the irq pt_regs cleanup.
        [MIPS] EMMA 2 / Markeins: struct resource takes physical addresses.
        [MIPS] EMMA 2 / Markeins: Convert to name struct resource initialization.
        [MIPS] EMMA 2 / Markeins: Formitting fixes split from actual address fixes.
        [MIPS] EMMA 2 / Markeins: Fix build wreckage due to genirq wreckage.
        [MIPS] Ocelot G: Fix build error and numerous warnings.
        [MIPS] Fix return value of TXX9 SPI interrupt handler
        [MIPS] Au1000: Fix warning about unused variable.
        [MIPS] Wire up getcpu(2) and epoll_wait(2) syscalls.
        [MIPS] Make SB1 cache flushes not to use on_each_cpu
        [MIPS] Fix warning about unused definition in c-sb1.c
        [MIPS] SMTC: Make 8 the default number of processors.
        [MIPS] Oprofile: Fix MIPSxx counter number detection.
        [MIPS] Au1xx0 code sets incorrect mips_hpt_frequency
        [MIPS] Oprofile: fix on non-VSMP / non-SMTC SMP configurations.
      528ba4ef
    • Jun'ichi Nomura's avatar
      [PATCH] clean up add_bd_holder() · df6c0cd9
      Jun'ichi Nomura authored
      add_bd_holder() is called from bd_claim_by_kobject to put a given struct
      bd_holder in the list if there is no matching entry.
      
      There are 3 possible results of add_bd_holder():
        1. there is no matching entry and add the given one to the list
        2. there is matching entry, so just increment reference count of
           the existing one
        3. something failed during its course
      
      1 and 2 are successful cases.  But for case 2, someone has to free the
      unused struct bd_holder.
      
      The current code frees it inside of add_bd_holder and returns same value
      0 for both cases 1 and 2.  However, it's natural and less error-prone if
      caller frees it since it's allocated by the caller.
      Signed-off-by: default avatarJun'ichi Nomura <j-nomura@ce.jp.nec.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      df6c0cd9
    • Jun'ichi Nomura's avatar
      [PATCH] fix bd_claim_by_kobject error handling · bcb55165
      Jun'ichi Nomura authored
      This fixes bd_claim_by_kobject to release bdev correctly in case that
      bd_claim succeeds but following add_bd_holder fails.
      Signed-off-by: default avatarJun'ichi Nomura <j-nomura@ce.jp.nec.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      bcb55165
  2. 30 Oct, 2006 34 commits