summaryrefslogtreecommitdiff
path: root/include/linux/lockd
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2008-03-14 21:26:08 +0300
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-03-20 01:01:10 +0300
commit0490a54a00c14212f22c5948c8c13a4553d745bd (patch)
treeeec4ea250a228c37c46255395724aa0c3390e838 /include/linux/lockd
parent2ca7754d4c96d68e1475690422a202ba5f0443d8 (diff)
downloadlinux-0490a54a00c14212f22c5948c8c13a4553d745bd.tar.xz
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')
-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 22a645828f26..5a5448bdb17d 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