- 26 May, 2003 1 commit
-
-
James Bottomley authored
The attached patch makes the sysfs attributes a property of the host template (I can't really see a reason why the actual attributes need to change per host, so I think the template is the better place for them). I've also provided helper functions to modify the attributes in the LLD init routines.
-
- 20 May, 2003 2 commits
-
-
James Bottomley authored
The host variable is now passed in, so we shouldn't have a similar variable defined in the proc_info routine
-
Dave Jones authored
Request port before using it.
-
- 19 May, 2003 37 commits
-
-
James Bottomley authored
into raven.il.steeleye.com:/home/jejb/BK/scsi-misc-2.5
-
Christoph Hellwig authored
Yeah, I know the method is obsolete but for proper refcounting we need to get rid of all those scsi_host_hn_get() abusers. scsi_host_hn_get() and scsi_host_put() are not exported anymore after this patch.
-
Douglas Gilbert authored
This is a catch up, applying the patch that Andries Brouwer sent a while back. It will apply to lk 2.5.69 and 2.5.69-bk10 .
-
Oliver Neukum authored
this fix makes sure that all test in irq handling in that driver are for NULL thus fixing an oops.
-
Mike Anderson authored
In the sysfs scsi host reference counting merge the call to a legacy hosts release function was removed. This patch adds the call back in. This patch was tested with insmod / rmmod on LLDDs using the legacy interface and LLDDs using the new interface: Legacy Interface: qla2xxx-v8.00.00b1 qlogicisp aic7xxx_old (Does not call scsi_unregister in release, but unloaded) New Interface: scsi_debug aic7xxx (Many illegal context warnings caused by mid vs LLDD primitive mixing, but appears to unload clean). drivers/scsi/hosts.c | 4 ++++ 1 files changed, 4 insertions(+)
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
This fixes the problem that adapter id's are not the minor number for the i2c-dev devices anymore. Also adds a i2c-dev class to let userspace know which i2c-dev device is bound to which i2c adapter.
-
ssh://master.kernel.org//home/hch/BK/xfs/linux-2.5/Linus Torvalds authored
into penguin.transmeta.com:/home/torvalds/v2.5/linux
-
bk://cifs.bkbits.net/linux-2.5cifsLinus Torvalds authored
into penguin.transmeta.com:/home/torvalds/v2.5/linux
-
Christoph Hellwig authored
-
Nathan Scott authored
SGI Modid: 2.5.x-xfs:slinx:149409a
-
Nathan Scott authored
SGI Modid: 2.5.x-xfs:slinx:149400a
-
Nathan Scott authored
the rest of XFS. Fix numerous crimes against whitespace. SGI Modid: 2.5.x-xfs:slinx:149398a
-
Nathan Scott authored
which is unnecessary in log recovery, clarify some recovery debug code. SGI Modid: 2.5.x-xfs:slinx:149396a
-
Nathan Scott authored
field from the xfs_mount structure to the log structure (saves a couple of pointer dereferences when writing to the log, with v2 logs only). SGI Modid: 2.5.x-xfs:slinx:149395a
-
Nathan Scott authored
SGI Modid: 2.5.x-xfs:slinx:149232a
-
Nathan Scott authored
one spot, which lets us keep more common code in sync, 2.4/2.5 and is slightly cleaner anyway. SGI Modid: 2.5.x-xfs:slinx:149231a
-
Nathan Scott authored
changes to make log recovery respect the log device sector size. SGI Modid: 2.5.x-xfs:slinx:149230a
-
Stephen Lord authored
basically turned it off. SGI Modid: 2.5.x-xfs:slinx:148955a
-
Christoph Hellwig authored
SGI Modid: 2.5.x-xfs:slinx:148940a
-
Christoph Hellwig authored
SGI Modid: 2.5.x-xfs:slinx:148933a
-
Nathan Scott authored
record write during log recovery head/tail calculations. SGI Modid: 2.5.x-xfs:slinx:148895a
-
Christoph Hellwig authored
SGI Modid: 2.5.x-xfs:slinx:148598a
-
Stephen Lord authored
SGI Modid: 2.5.x-xfs:slinx:148433a
-
Nathan Scott authored
SGI Modid: 2.5.x-xfs:slinx:148595a
-
Christoph Hellwig authored
SGI Modid: 2.5.x-xfs:slinx:148415a
-
Nathan Scott authored
SGI Modid: 2.5.x-xfs:slinx:148285a
-
Charles Fumuso authored
SGI Modid: 2.5.x-xfs:slinx:132737a
-
Christoph Hellwig authored
SGI Modid: 2.5.x-xfs:slinx:147932a
-
Ingo Molnar authored
Noticed by Julie DeWandel <jdewand@redhat.com>. do_fork() needs to return the pid (or error), not the pointer to the resulting process structure. The process structure may not even be valid any more, since do_fork() has already woken the process up (and as a result it might already have done its thing and gone away). Besides, doing it this way cleans up the users, which all really just wanted the pid or error number _anyway_. This fixes the x86 users, other architectures need to be fixed up as well.
-
Andries E. Brouwer authored
A familar type of Oops: d_path() can return an error ENAMETOOLONG, and if we fail to test a segfault occurs. So we must test. What we do is a different matter. Rather arbitrarily I return the string " (too long)" for use in /proc/mounts.
-
Andries E. Brouwer authored
Several SCSI drivers confuse CHECK_CONDITION and CHECK_CONDITION << 1. One of them is NCR5380.c. Below a patch adding status_byte() twice. (On the other hand, sun3_NCR5380.c does this right, and generally looks better. Maybe they can be merged eventually.)
-
Andries E. Brouwer authored
After # mount --rbind /tmp /mnt (on 2.5.68) I have a corrupted namespace. Umounting /mnt fails, and /proc/mounts contains ... /dev/root /mnt ext3 rw 0 0 proc /mnt/proc proc rw 0 0 usbfs /mnt/proc/bus/usb usbfs rw 0 0 /dev/hdb5 /mnt/usr reiserfs rw 0 0 ... where of course no directories /mnt/proc or /mnt/usr exist. This is caused by the fact that copy_tree() thinks that the dentry it is called with is the root of the filesystem. If it is not, confusion arose. This patch fixes this confusion.
-
Ben Collins authored
- Fix possible memory leak in iso.c - Added handling for more than 1 Logical_Unit_Number entry in a unit directory for SBP-2. This allows for handling the second type of LUN that we didn't support yet.
-
bk://bk.arm.linux.org.uk/linux-2.5-rmkLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Ingo Molnar authored
This fixes a race noticed by Mike Galbraith: the scheduler can lose a rebalance tick if some task happens to not be rescheduled in time. This is not a fatal condition, but an inconsistency nevertheless.
-
Ingo Molnar authored
This fixes the scheduler's sync-wakeup code to be consistent on UP as well. Right now there's a behavioral difference between an UP kernel and an SMP kernel running on a UP box: sync wakeups (which are only activated on SMP) can cause a wakeup of a higher prio task, without preemption. On UP kernels this does not happen. This difference in wakeup behavior is bad. This patch activates sync wakeups on UP as well - in the cases sync wakeups are done the waker knows that it will schedule away soon, so this 'delay preemption' decision is correct on UP as well.
-