diff options
-rw-r--r-- | fs/ocfs2/dlmglue.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ocfs2/dlmglue.c b/fs/ocfs2/dlmglue.c index 151b41781eab..20c6ca8ac7fd 100644 --- a/fs/ocfs2/dlmglue.c +++ b/fs/ocfs2/dlmglue.c | |||
@@ -810,6 +810,7 @@ static int ocfs2_lock_create(struct ocfs2_super *osb, | |||
810 | &lockres->l_lksb, | 810 | &lockres->l_lksb, |
811 | dlm_flags, | 811 | dlm_flags, |
812 | lockres->l_name, | 812 | lockres->l_name, |
813 | OCFS2_LOCK_ID_MAX_LEN - 1, | ||
813 | lockres->l_ops->ast, | 814 | lockres->l_ops->ast, |
814 | lockres, | 815 | lockres, |
815 | lockres->l_ops->bast); | 816 | lockres->l_ops->bast); |
@@ -999,6 +1000,7 @@ again: | |||
999 | &lockres->l_lksb, | 1000 | &lockres->l_lksb, |
1000 | lkm_flags|LKM_CONVERT|LKM_VALBLK, | 1001 | lkm_flags|LKM_CONVERT|LKM_VALBLK, |
1001 | lockres->l_name, | 1002 | lockres->l_name, |
1003 | OCFS2_LOCK_ID_MAX_LEN - 1, | ||
1002 | lockres->l_ops->ast, | 1004 | lockres->l_ops->ast, |
1003 | lockres, | 1005 | lockres, |
1004 | lockres->l_ops->bast); | 1006 | lockres->l_ops->bast); |
@@ -2419,6 +2421,7 @@ static int ocfs2_downconvert_lock(struct ocfs2_super *osb, | |||
2419 | &lockres->l_lksb, | 2421 | &lockres->l_lksb, |
2420 | dlm_flags, | 2422 | dlm_flags, |
2421 | lockres->l_name, | 2423 | lockres->l_name, |
2424 | OCFS2_LOCK_ID_MAX_LEN - 1, | ||
2422 | lockres->l_ops->ast, | 2425 | lockres->l_ops->ast, |
2423 | lockres, | 2426 | lockres, |
2424 | lockres->l_ops->bast); | 2427 | lockres->l_ops->bast); |