]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 26 Jun 2011 16:46:43 +0000 (12:46 -0400)
commit2dcb94f9c660427e7a0aa73ec60b825ab01a0d06
tree45526c8a92cfb49fbe9d3d008649b9afefd3c01c
parentf0964b2858475aa010557a1236e8990f4b64e459
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: Paul Gortmaker <paul.gortmaker@windriver.com>
fs/nfsd/nfs4xdr.c