nfsd: correctly handle return value from nfsd_map_name_to_*
commit6af40f1c9359c9c795b68a0ae7be4f49e6f95e67
authorNeilBrown <neilb@suse.de>
Wed, 16 Feb 2011 02:08:35 +0000 (16 13:08 +1100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Mar 2011 19:45:10 +0000 (21 12:45 -0700)
tree75f067f5cc79ea74fccb597c38a882b2fce3cb65
parentbf9a5b3f21bb693155c9f890efad91975a318300
nfsd: correctly handle return value from nfsd_map_name_to_*

commit 47c85291d3dd1a51501555000b90f8e281a0458e upstream.

These functions return an nfs status, not a host_err.  So don't
try to convert  before returning.

This is a regression introduced by
3c726023402a2f3b28f49b9d90ebf9e71151157d; I fixed up two of the callers,
but missed these two.

Reported-by: Herbert Poetzl <herbert@13thfloor.at>
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/nfsd/nfs4xdr.c