File system lock names are very regular right now, so we really only need to
pass an extra parameter to dlmlock().
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
&lockres->l_lksb,
dlm_flags,
lockres->l_name,
+ OCFS2_LOCK_ID_MAX_LEN - 1,
lockres->l_ops->ast,
lockres,
lockres->l_ops->bast);
&lockres->l_lksb,
lkm_flags|LKM_CONVERT|LKM_VALBLK,
lockres->l_name,
+ OCFS2_LOCK_ID_MAX_LEN - 1,
lockres->l_ops->ast,
lockres,
lockres->l_ops->bast);
&lockres->l_lksb,
dlm_flags,
lockres->l_name,
+ OCFS2_LOCK_ID_MAX_LEN - 1,
lockres->l_ops->ast,
lockres,
lockres->l_ops->bast);