nfsd: Fix SP4_MACH_CRED negotiation in EXCHANGE_ID
authorWeston Andros Adamson <dros@netapp.com>
Mon, 5 Aug 2013 19:47:07 +0000 (15:47 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 7 Aug 2013 16:06:07 +0000 (12:06 -0400)
commit58cd57bfd9db3bc213bf9d6a10920f82095f0114
tree231ef9a0cc18f0b631e9a33e3e7a66d167fc6186
parentc47205914cf5a8cf564ca560aa6eaa2287867e58
nfsd: Fix SP4_MACH_CRED negotiation in EXCHANGE_ID

 - don't BUG_ON() when not SP4_NONE
 - calculate recv and send reserve sizes correctly

Signed-off-by: Weston Andros Adamson <dros@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4proc.c
fs/nfsd/nfs4xdr.c