1. 27 Feb, 2003 20 commits
  2. 26 Feb, 2003 20 commits
    • Art Haas's avatar
      5845c707
    • Art Haas's avatar
      b9d8cefb
    • Art Haas's avatar
      13d77434
    • Joe Thornber's avatar
      [PATCH] dm: deregister the misc device before removing /dev/mapper · f05ed067
      Joe Thornber authored
      Fix problem with devfs when unloading the dm module.
      
      dm-ioctl.c: deregister the misc device, and its associated symlink
      *before* removing the /dev/mapper dir.  [Alasdair Kergon]
      f05ed067
    • Kevin Corry's avatar
      [PATCH] dm: prevent possible buffer overflow in ioctl interface · 61a295e8
      Kevin Corry authored
      Use the correct size for "name" in register_with_devfs().
      
      During Al Viro's devfs cleanup a few versions ago, this function was
      rewritten, and the "name" string added. The 32-byte size is not large
      enough to prevent a possible buffer overflow in the sprintf() call,
      since the hash cell can have a name up to 128 characters.
      61a295e8
    • Joe Thornber's avatar
      [PATCH] dm: return correct error codes from dm_table_add_target() · 7e2ec88a
      Joe Thornber authored
      Return correct error codes from dm_table_add_target().  [Kevin Corry]
      7e2ec88a
    • Joe Thornber's avatar
      [PATCH] dm: __LOW macro fix no. 2 · 8a87a873
      Joe Thornber authored
      Another fix for the __LOW macro.
      
      When dm_table and dm_target structures are initialized, the "limits" fields
      (struct io_restrictions) are initialized to zero (e.g. in dm_table_add_target()
      in dm-table.c). However, zero is not a useable value in these fields. The
      request queue will never let an I/O through, regardless of how small it might
      be, if max_sectors is set to zero (see generic_make_request in ll_rw_blk.c).
      This change to the __LOW() macro sets these fields correctly when they are
      first initialized.  [Kevin Corry]
      8a87a873
    • Joe Thornber's avatar
      [PATCH] dm: allow slashes in dm device names · 62d3bab5
      Joe Thornber authored
      Allow slashes ('/') within a DM device name, but not at the beginning.
      
      Devfs will automatically create all necessary sub-directories if a name
      with embedded slashes is registered.  [Kevin Corry]
      62d3bab5
    • Joe Thornber's avatar
      [PATCH] dm: bug in error path for unknown target type · 62baf68a
      Joe Thornber authored
      Silly mistake in error path when an unknown target type is requested.
      62baf68a
    • Joe Thornber's avatar
      [PATCH] dm: __LOW macro fix no. 1 · f8619747
      Joe Thornber authored
      Fix __LOW macro.  [Kevin Corry]
      f8619747
    • Joe Thornber's avatar
      [PATCH] dm: ioctl interface wasn't dropping a table reference · cd76ac53
      Joe Thornber authored
      When reloading a device the ioctl interface was forgetting to drop a
      reference on the new table.
      cd76ac53
    • Linus Torvalds's avatar
      Merge http://linux-scsi.bkbits.net/scsi-for-linus-2.5 · 451d6c90
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      451d6c90
    • James Bottomley's avatar
      Merge by hand · cba60e0c
      James Bottomley authored
      cba60e0c
    • Adrian Bunk's avatar
      [PATCH] fix the compilation of sym53c416.c · e70ab33d
      Adrian Bunk authored
      In 2.5.63 I get the following compile error in drivers/scsi/sym53c416.c:
      
      
      <--  snip  -->
      
      ...
        gcc -Wp,-MD,drivers/scsi/.sym53c416.o.d -D__KERNEL__ -Iinclude -Wall
      -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
      -pipe -mpreferred-stack-boundary=2 -march=k6
      -Iinclude/asm-i386/mach-default -nostdinc -iwithprefix include
      -DKBUILD_BASENAME=sym53c416 -DKBUILD_MODNAME=sym53c416 -c -o
      drivers/scsi/sym53c416.o drivers/scsi/sym53c416.c
      drivers/scsi/sym53c416.c: In function `sym53c416_detect':
      drivers/scsi/sym53c416.c:682: too many arguments to function
      `pnp_activate_dev'
      make[2]: *** [drivers/scsi/sym53c416.o] Error 1
      
      <--  snip  -->
      
      
      The following patch fixes it:
      e70ab33d
    • Adrian Bunk's avatar
      [PATCH] fix compilation of g_NCR5380.c · f906d51c
      Adrian Bunk authored
      In 2.5.63 I get the following compile error in drivers/scsi/g_NCR5380.c:
      
      <--  snip  -->
      
      ...
        gcc -Wp,-MD,drivers/scsi/.g_NCR5380.o.d -D__KERNEL__ -Iinclude -Wall
      -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
      -pipe -mpreferred-stack-boundary=2 -march=k6
      -Iinclude/asm-i386/mach-default -nostdinc -iwithprefix include
      -DKBUILD_BASENAME=g_NCR5380 -DKBUILD_MODNAME=g_NCR5380 -c -o
      drivers/scsi/g_NCR5380.o drivers/scsi/g_NCR5380.c
      drivers/scsi/g_NCR5380.c: In function `generic_NCR5380_detect':
      drivers/scsi/g_NCR5380.c:326: too many arguments to function
      `pnp_activate_dev'
      ...
      make[2]: *** [drivers/scsi/g_NCR5380.o] Error 1
      
      <--  snip  -->
      
      
      The following patch fixes it:
      f906d51c
    • Mike Anderson's avatar
      [PATCH] scsi_set_device_offline lock fix · c879f2b7
      Mike Anderson authored
      Patrick pointed out that I could get into a ABBA issue with holding
      list_lock while calling scsi_eh_scmd_add which takes host_lock.
      A call to scsi_prep_fn already holds the queue_lock and then makes a
      call to scsi_get_command which takes list_lock.
      
      -andmike
      --
      Michael Anderson
      andmike@us.ibm.com
      
      =====
      name:		00_scsi_set_device_offline.diff
      version:	2003-02-26.15:18:19-0800
      against:	scsi-misc-2.5
      
       scsi.c |   15 +++++++++------
       1 files changed, 9 insertions(+), 6 deletions(-)
      
      =====
      c879f2b7
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/jgarzik/net-drivers-2.5 · 39ed041a
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      39ed041a
    • John Levon's avatar
      [PATCH] AM53C974 typo · a1b784ec
      John Levon authored
      Against 2.5.63, untested
      
      regards
      john
      a1b784ec
    • Christoph Hellwig's avatar
      [PATCH] update nsp_cs to use scsi_add_host / scsi_remove_host · 67e0453e
      Christoph Hellwig authored
      On Wed, Feb 26, 2003 at 08:20:05PM +0100, Christoph Hellwig wrote:
      > This patch updates nsp_cs to use scsi_add_host / scsi_remove_host when
      > compiledfor Linux 2.5 which allows to get rid of the scsi host list
      > walks and is a preparation for allowing to support multiple cards of
      > this type.
      
      Sorry, I sent you the wrong paetch, here's the right one:
      67e0453e
    • John Levon's avatar
      [PATCH] NCR5380 typos · 11e9a69a
      John Levon authored
      Against 2.5.63, untested
      
      regards
      john
      11e9a69a