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
Makefile -rw-r--r-- 282 bytes
compat.c -rw-r--r-- 17.0 KB
compat_mq.c -rw-r--r-- 4.0 KB
ipc_sysctl.c -rw-r--r-- 4.1 KB
mqueue.c -rw-r--r-- 29.9 KB
msg.c -rw-r--r-- 20.5 KB
msgutil.c -rw-r--r-- 2.3 KB
sem.c -rw-r--r-- 34.6 KB
shm.c -rw-r--r-- 25.9 KB
util.c -rw-r--r-- 19.3 KB
util.h -rw-r--r-- 3.3 KB

back to top