summaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_xdr.h
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@fieldses.org>2006-08-24 15:44:12 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-08-24 15:51:59 -0400
commit3cedf13af9f7e61aca0dbbd11b601ac93bf93a9f (patch)
tree4755f3f0de0439ba83b32b6a238064a58a751f64 /include/linux/nfs_xdr.h
parent8e037094c414172481c5ce903efdab50ce932343 (diff)
downloadop-kernel-dev-3cedf13af9f7e61aca0dbbd11b601ac93bf93a9f.zip
op-kernel-dev-3cedf13af9f7e61aca0dbbd11b601ac93bf93a9f.tar.gz
NFSv4: increase client-provided nfs4 clientid size
Neil Brown observed that the current limit of 32 bytes isn't enough to hold two ip addresses and the rest of the stuff we're putting in it, so it's often truncated to the point where it's unlikely to be unique. This can cause spurious CLID_INUSE's from the server. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> (cherry picked from fc8c17ec251e984ab3df9182ed097aa5b577c915 commit)
Diffstat (limited to 'include/linux/nfs_xdr.h')
-rw-r--r--include/linux/nfs_xdr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index 2d3fb64..db9cbf6 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -659,7 +659,7 @@ struct nfs4_rename_res {
struct nfs4_setclientid {
const nfs4_verifier * sc_verifier; /* request */
unsigned int sc_name_len;
- char sc_name[32]; /* request */
+ char sc_name[48]; /* request */
u32 sc_prog; /* request */
unsigned int sc_netid_len;
char sc_netid[4]; /* request */
OpenPOWER on IntegriCloud