nfsd: correctly handle return value from nfsd_map_name_to_*
authorNeilBrown <neilb@suse.de>
Wed, 16 Feb 2011 02:08:35 +0000 (13:08 +1100)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 16 Feb 2011 23:31:05 +0000 (18:31 -0500)
commit47c85291d3dd1a51501555000b90f8e281a0458e
treeea581e7c383b25242355335c4c06aad21b9bf4cc
parent85e2efbb1db9a18d218006706d6e4fbeb0216213
nfsd: correctly handle return value from nfsd_map_name_to_*

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.

Cc: stable@kernel.org
Reported-by: Herbert Poetzl <herbert@13thfloor.at>
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4xdr.c