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)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 16 Aug 2012 21:20:06 +0000 (17:20 -0400)
commit12dfd080556124088ed61a292184947711b46cbe
treecd446eee09b159e32784fa2e8f421b6ac8a3f655
parentc5066945b7ea346a11424dbeb7830b7d7d00c206
NFS: return -ENOKEY when the upcall fails to map the name

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>
Cc: stable@vger.kernel.org [>= 3.4]
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/idmap.c