diff options
Diffstat (limited to 'fs/gfs2')
-rw-r--r-- | fs/gfs2/lock_dlm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/lock_dlm.c b/fs/gfs2/lock_dlm.c index 98c80d8c2a62..ce85b62bc0a2 100644 --- a/fs/gfs2/lock_dlm.c +++ b/fs/gfs2/lock_dlm.c | |||
@@ -195,10 +195,10 @@ static int gdlm_mount(struct gfs2_sbd *sdp, const char *fsname) | |||
195 | return -EINVAL; | 195 | return -EINVAL; |
196 | } | 196 | } |
197 | 197 | ||
198 | error = dlm_new_lockspace(fsname, strlen(fsname), &ls->ls_dlm, | 198 | error = dlm_new_lockspace(fsname, NULL, |
199 | DLM_LSFL_FS | DLM_LSFL_NEWEXCL | | 199 | DLM_LSFL_FS | DLM_LSFL_NEWEXCL | |
200 | (ls->ls_nodir ? DLM_LSFL_NODIR : 0), | 200 | (ls->ls_nodir ? DLM_LSFL_NODIR : 0), |
201 | GDLM_LVB_SIZE); | 201 | GDLM_LVB_SIZE, NULL, NULL, NULL, &ls->ls_dlm); |
202 | if (error) | 202 | if (error) |
203 | printk(KERN_ERR "dlm_new_lockspace error %d", error); | 203 | printk(KERN_ERR "dlm_new_lockspace error %d", error); |
204 | 204 | ||