[PATCH] v9fs: readlink extended mode check
authorEric Van Hensbergen <ericvh@gmail.com>
Fri, 9 Sep 2005 20:04:27 +0000 (13:04 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 9 Sep 2005 20:57:58 +0000 (13:57 -0700)
commitb501611a6f78558eafcf09b228abd866d4ea5d9f
treed1d78694f54cd563f99a071eb29d8a40ad30d154
parent5d58bec5b7a8b8303df0a4dcb9a18feeefac6091
[PATCH] v9fs: readlink extended mode check

LANL reported some issues with random crashes during mount of legacy protocol
servers (9P2000 versus 9P2000.u) -- crash was always happening in readlink
(which should never happen in legacy mode).  Added some sanity conditionals to
the get_inode code which should prevent the errors LANL was seeing.  Code
tested benign through regression.

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