summaryrefslogtreecommitdiffstats
path: root/include/linux/lockd/sm_inter.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2008-03-14 14:26:08 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-03-19 18:01:10 -0400
commit0490a54a00c14212f22c5948c8c13a4553d745bd (patch)
treeeec4ea250a228c37c46255395724aa0c3390e838 /include/linux/lockd/sm_inter.h
parent2ca7754d4c96d68e1475690422a202ba5f0443d8 (diff)
lockd: introduce new function to encode private argument in SM_MON requests
Clean up: refactor the encoding of the opaque 16-byte private argument in xdr_encode_mon(). This will be updated later to support IPv6 addresses. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/lockd/sm_inter.h')
-rw-r--r--include/linux/lockd/sm_inter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/lockd/sm_inter.h b/include/linux/lockd/sm_inter.h
index 22a645828f2..5a5448bdb17 100644
--- a/include/linux/lockd/sm_inter.h
+++ b/include/linux/lockd/sm_inter.h
@@ -19,6 +19,7 @@
#define SM_NOTIFY 6
#define SM_MAXSTRLEN 1024
+#define SM_PRIV_SIZE 16
/*
* Arguments for all calls to statd