- 26 Feb, 2003 40 commits
-
-
Art Haas authored
-
Art Haas authored
-
Art Haas authored
-
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]
-
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.
-
Joe Thornber authored
Return correct error codes from dm_table_add_target(). [Kevin Corry]
-
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]
-
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]
-
Joe Thornber authored
Silly mistake in error path when an unknown target type is requested.
-
Joe Thornber authored
Fix __LOW macro. [Kevin Corry]
-
Joe Thornber authored
When reloading a device the ioctl interface was forgetting to drop a reference on the new table.
-
http://linux-scsi.bkbits.net/scsi-for-linus-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
James Bottomley authored
-
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:
-
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:
-
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(-) =====
-
bk://kernel.bkbits.net/jgarzik/net-drivers-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
John Levon authored
Against 2.5.63, untested regards john
-
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:
-
John Levon authored
Against 2.5.63, untested regards john
-
John Levon authored
Against 2.5.63, untested regards john
-
John Levon authored
Untested, against 2.5.63 regards john
-
John Levon authored
Untested, 2.5.63
-
Christoph Hellwig authored
I remember having this submitted a while ago, but here's the code again, this time with the untested aic79xx bits.
-
John Levon authored
Not tested, against 2.5.63 regards john
-
Rolf Eike Beer authored
This patch makes sure that there is a "0x" in front of all hex numbers and makes all outputs use a single style (all %x instead of mixed %x and %X). Eike
-
James Bottomley authored
-
ssh://mulgrave-w/BK/scsi-misc-2.5James Bottomley authored
into raven.il.steeleye.com:/home/jejb/BK/scsi-misc-2.5
-
Dave Jones authored
Same bug as other sym driver.
-
Dave Jones authored
Spelling fixes! Woo! I gotta get me some of that.
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
First hunk is unexplained. Second hunk had the 2.4 changeset comment 'fix warnings'
-
Dave Jones authored
This made it into 2.4, and aparently fixes a problem with some tape devices.
-
Dave Jones authored
>From 2.4
-
Dave Jones authored
-
Dave Jones authored
-