]> git.karo-electronics.de Git - karo-tx-linux.git/commit
NFS: return -ENOKEY when the upcall fails to map the name
authorBryan Schumaker <bjschuma@netapp.com>
Thu, 9 Aug 2012 18:05:50 +0000 (14:05 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Sep 2012 16:59:25 +0000 (09:59 -0700)
commitbdd78615ccef0cb43ab4214c9f315efdefedcd6e
tree7abcb689b1e1d04fa51c577375ff258c9df04314
parent28a59a3a607da7fccc376d378ed7d9937af6ae08
NFS: return -ENOKEY when the upcall fails to map the name

commit 12dfd080556124088ed61a292184947711b46cbe upstream.

This allows the normal error-paths to handle the error, rather than
making a special call to complete_request_key() just for this instance.

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Tested-by: William Dauchy <wdauchy@gmail.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/idmap.c