[PATCH] NFSv4: fix mount segfault on errors returned that are < -1000
commitc12e87f4652b1ba3be168b4f63a440399b941928
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 14 Mar 2006 05:20:47 +0000 (13 21:20 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 14 Mar 2006 15:57:18 +0000 (14 07:57 -0800)
treeaa8c0ca6a6ea60042975d1ec9437620269df0182
parent712917d1c002f820b177683f4fd491289bde3c32
[PATCH] NFSv4: fix mount segfault on errors returned that are < -1000

It turns out that nfs4_proc_get_root() may return raw NFSv4 errors instead of
mapping them to kernel errors.  Problem spotted by Neil Horman
<nhorman@tuxdriver.com>

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/nfs/nfs4proc.c