]> git.baikalelectronics.ru Git - kernel.git/commit
nfs: update maxsz values for SETCLIENTID and EXCHANGE_ID
authorJeff Layton <jlayton@poochiereds.net>
Tue, 9 Jun 2015 23:43:58 +0000 (19:43 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 16 Jun 2015 15:15:40 +0000 (11:15 -0400)
commitf583702604a0facbd1d07aa1fb70c0eac1167d2b
tree37e32fac917fe4ded904beeff36d4ccfb5f4fc91
parentabc783d41dac6eb27e03865bdac1b75da3c52a6f
nfs: update maxsz values for SETCLIENTID and EXCHANGE_ID

The spec allows for up to NFS4_OPAQUE_LIMIT (1k). While we'll almost
certainly never use that much, these ops are generally the only ones
in the compound so we might as well allow for them to be that large.

Also, the existing code didn't add in a word for the opaque length
field for either name string. Fix that while we're in there.

Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4xdr.c