android_kernel_samsung_msm8976/drivers/block
Akinobu Mita ea6f94dfe9 [PATCH] rd: memory leak on rd_init() failure
If RAM disk driver initialization fails due to blk_alloc_queue() faulure, the
gendisk structs stored in rd_disks[] will not be freed completely.

This patch resolves that memory leak case by doing alloc_disk() and
blk_alloc_queue() at the same time.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-17 08:18:48 -07:00
..
aoe
paride
acsi.c
acsi_slm.c
amiflop.c
ataflop.c
cciss.c
cciss.h
cciss_cmd.h
cciss_scsi.c
cciss_scsi.h
cpqarray.c
cpqarray.h
cryptoloop.c
DAC960.c
DAC960.h
floppy.c
ida_cmd.h
ida_ioctl.h
Kconfig
loop.c
Makefile
nbd.c
pktcdvd.c
ps2esdi.c
rd.c [PATCH] rd: memory leak on rd_init() failure 2006-10-17 08:18:48 -07:00
smart1,2.h
swim3.c
swim_iop.c
sx8.c
ub.c
umem.c
viodasd.c
xd.c
xd.h
z2ram.c