aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJim Garlick <garlick.jim@gmail.com>2011-08-20 14:51:18 -0400
committerEric Van Hensbergen <ericvh@gmail.com>2011-09-06 09:17:16 -0400
commit51b8b4fb32271d39fbdd760397406177b2b0fd36 (patch)
treebe77b4fee13806914f81e0cde956928a0303d23a /include
parent73f507171cfa407b19f254aef95cbb058c8180cf (diff)
fs/9p: Use protocol-defined value for lock/getlock 'type' field.
Signed-off-by: Jim Garlick <garlick@llnl.gov> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/net/9p/9p.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/9p/9p.h b/include/net/9p/9p.h
index 957ab99897a1..a6326ef8ade6 100644
--- a/include/net/9p/9p.h
+++ b/include/net/9p/9p.h
@@ -312,6 +312,11 @@ enum p9_perm_t {
312/* 9p2000.L at flags */ 312/* 9p2000.L at flags */
313#define P9_DOTL_AT_REMOVEDIR 0x200 313#define P9_DOTL_AT_REMOVEDIR 0x200
314 314
315/* 9p2000.L lock type */
316#define P9_LOCK_TYPE_RDLCK 0
317#define P9_LOCK_TYPE_WRLCK 1
318#define P9_LOCK_TYPE_UNLCK 2
319
315/** 320/**
316 * enum p9_qid_t - QID types 321 * enum p9_qid_t - QID types
317 * @P9_QTDIR: directory 322 * @P9_QTDIR: directory