kernel-ark/drivers
Nate Diller 2ca7d93bb2 [PATCH] block cleanups: Fix iosched module refcount leak
If the requested I/O scheduler is already in place, elevator_switch simply
leaves the queue alone, and returns.  However, it forgets to call
elevator_put, so

'echo [current_sched] > /sys/block/[dev]/queue/scheduler'

will leak a reference, causing the current_sched module to be permanently
pinned in memory.

Signed-off-by: Nate Diller <nate@namesys.com>
Acked-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-10-30 17:37:20 -08:00
..
acorn
acpi [PATCH] introduce .valid callback for pm_ops 2005-10-30 17:37:15 -08:00
atm
base [PATCH] introduce get_cpu_sysdev() to retrieve a sysfs entry for a cpu. 2005-10-30 17:37:14 -08:00
block [PATCH] block cleanups: Fix iosched module refcount leak 2005-10-30 17:37:20 -08:00
bluetooth
cdrom
char [PATCH] Typo fix: dot after newline in printk strings 2005-10-30 17:37:20 -08:00
connector
cpufreq [PATCH] create and destroy cpufreq sysfs entries based on cpu notifiers 2005-10-30 17:37:14 -08:00
crypto [PATCH] CONFIG_IA32 2005-10-30 17:37:10 -08:00
dio
eisa
fc4
firmware [PATCH] CONFIG_IA32 2005-10-30 17:37:10 -08:00
hwmon
i2c
ide [PATCH] protect ide_cdrom_capacity by ifdef 2005-10-30 17:37:19 -08:00
ieee1394
infiniband
input [PATCH] CONFIG_IA32 2005-10-30 17:37:10 -08:00
isdn
macintosh
mca
md
media
message [PATCH] Typo fix: dot after newline in printk strings 2005-10-30 17:37:20 -08:00
mfd
misc
mmc
mtd
net [PATCH] Typo fix: dot after newline in printk strings 2005-10-30 17:37:20 -08:00
nubus
oprofile
parisc
parport
pci [PATCH] Typo fix: dot after newline in printk strings 2005-10-30 17:37:20 -08:00
pcmcia [PATCH] CONFIG_IA32 2005-10-30 17:37:10 -08:00
pnp
s390 [PATCH] s390, ccw - export modalias 2005-10-30 17:37:16 -08:00
sbus
scsi [PATCH] Typo fix: explictly -> explicitly 2005-10-30 17:37:20 -08:00
serial
sh
sn
tc
telephony
usb [PATCH] Typo fix: dot after newline in printk strings 2005-10-30 17:37:20 -08:00
video [PATCH] CONFIG_IA32 2005-10-30 17:37:10 -08:00
w1
zorro
Kconfig
Makefile