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 17:00:16 +0000 (10:00 -0700)
commitd3078898b6f08028ee5ab8f6e8d12216d7f707ee
treede2d47ea2ff2dedc1b142c887ccdcb0c5f7103da
parent797d03b980a559cd3312f7df3b41bb265cddcd8b
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