Revision 785955752fde4c555a1d9f74ddfe1f7aca3e0c7f authored by Alan Cox on 03 July 2007, 20:28:35 UTC, committed by Bartlomiej Zolnierkiewicz on 03 July 2007, 20:28:35 UTC
Found by a static analyser. It is in theory possible we dereference
dev->id when it has become invalid. Re-order to avoid this.

Not needed for new-ide as we no longer support the crazy exabyte nest stuff

Signed-off-by: Alan Cox <alan@redhat.com>
Cc: Andrew Morton <akpm@osdl.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>

1 parent b42fa13
History
File Mode Size
Kconfig -rw-r--r-- 22.9 KB
Makefile -rw-r--r-- 1.0 KB
calibrate.c -rw-r--r-- 4.7 KB
do_mounts.c -rw-r--r-- 9.7 KB
do_mounts.h -rw-r--r-- 1.4 KB
do_mounts_initrd.c -rw-r--r-- 3.0 KB
do_mounts_md.c -rw-r--r-- 7.3 KB
do_mounts_rd.c -rw-r--r-- 10.0 KB
initramfs.c -rw-r--r-- 11.8 KB
main.c -rw-r--r-- 20.0 KB
noinitramfs.c -rw-r--r-- 1.4 KB
version.c -rw-r--r-- 1009 bytes

back to top