nfsd4: fix nfs4err_resource in 4.1 case
authorJ. Bruce Fields <bfields@redhat.com>
Tue, 11 Mar 2014 00:50:31 +0000 (20:50 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Sat, 29 Mar 2014 01:24:56 +0000 (21:24 -0400)
encode_getattr, for example, can return nfserr_resource to indicate it
ran out of buffer space.  That's not a legal error in the 4.1 case.  And
in the 4.1 case, if we ran out of buffer space, we should have exceeded
a session limit too.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4xdr.c

Simple merge