summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/dlm/userdlm.h
diff options
context:
space:
mode:
authorMark Fasheh <mark.fasheh@oracle.com>2006-09-08 11:39:27 -0700
committerMark Fasheh <mark.fasheh@oracle.com>2006-09-24 13:50:42 -0700
commitea5b3a187e2724fa9d08b2fbd3898c149ed95c6b (patch)
tree42748cd0189e3b41147ccbe114d02633dc8d0d1e /fs/ocfs2/dlm/userdlm.h
parent3384f3df5ed939a25135e1b2734fb7cdee1720a8 (diff)
downloadop-kernel-dev-ea5b3a187e2724fa9d08b2fbd3898c149ed95c6b.zip
op-kernel-dev-ea5b3a187e2724fa9d08b2fbd3898c149ed95c6b.tar.gz
ocfs2: Update dlmfs for new dlmlock() API
We just need to add a namelen field to the user_lock_res structure, and update a few debug prints. Instead of updating all debug prints, I took the opportunity to remove a few that are likely unnecessary these days. Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/dlm/userdlm.h')
-rw-r--r--fs/ocfs2/dlm/userdlm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ocfs2/dlm/userdlm.h b/fs/ocfs2/dlm/userdlm.h
index 04178bc..c400e93 100644
--- a/fs/ocfs2/dlm/userdlm.h
+++ b/fs/ocfs2/dlm/userdlm.h
@@ -53,6 +53,7 @@ struct user_lock_res {
#define USER_DLM_LOCK_ID_MAX_LEN 32
char l_name[USER_DLM_LOCK_ID_MAX_LEN];
+ int l_namelen;
int l_level;
unsigned int l_ro_holders;
unsigned int l_ex_holders;
OpenPOWER on IntegriCloud