nfsd41: replace nfserr_resource in pure nfs41 responses
authorAndy Adamson <andros@netapp.com>
Fri, 28 Aug 2009 12:45:03 +0000 (08:45 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 2 Sep 2009 02:24:05 +0000 (22:24 -0400)
commitbdac86e2154cfe47552639113265d1fa27cfbe72
tree3e8e9aaac30ebea8e741c1da29c1caacf2943fea
parenta8dfdaeb7a8b1295f45d9d208dd27e6e20113d1b
nfsd41: replace nfserr_resource in pure nfs41 responses

nfserr_resource is not a legal error for NFSv4.1. Replace it with
nfserr_serverfault for EXCHANGE_ID and CREATE_SESSION processing.

We will also need to map nfserr_resource to other errors in routines shared
by NFSv4.0 and NFSv4.1

Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/nfs4state.c