]> git.hungrycats.org Git - linux/commit
[PATCH] hpt366.c: fix 'cat /proc/ide/hpt366' crash
authorBartlomiej Zolnierkiewicz <b.zolnierkiewicz@elka.pw.edu.pl>
Tue, 13 Apr 2004 11:28:16 +0000 (04:28 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 13 Apr 2004 11:28:16 +0000 (04:28 -0700)
commit1b803805bb5f4d9989162c3e2eb6a6abbd1f7943
tree1e510298f9a4a5c9493ce514379846de63e311fe
parent2ce4ee6a935c49f349042c223b991cd2be46e15d
[PATCH] hpt366.c: fix 'cat /proc/ide/hpt366' crash

Disable code doing outb() without any locking in /proc handler.
Otherwise 'cat /proc/ide/hpt366' crashes if done during I/O.

Noticed by John Stoffel <stoffel@lucent.com>.
drivers/ide/pci/hpt366.c