[PATCH] v9fs: fix vfs_inode dereference before NULL check
authorEugene Teo <eugene.teo@eugeneteo.net>
Sat, 25 Mar 2006 11:07:27 +0000 (03:07 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 25 Mar 2006 16:22:54 +0000 (08:22 -0800)
commitc0291a05f8e6a72c9807b0e2a369ee82bec659c3
treedd93c9a70965005bd72be09797d064b1738656dc
parent16cce6d27ef52e00cc124196046bbae7150024c1
[PATCH] v9fs: fix vfs_inode dereference before NULL check

__getname, which in turn will call kmem_cache_alloc, may return NULL.

Coverity bug #977

Signed-off-by: Eugene Teo <eugene.teo@eugeneteo.net>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/9p/vfs_inode.c