Displaying 1 result from an estimated 1 matches for "tmpcooki".
Did you mean:
tmpcookie
2010 Aug 26
1
[PATCH 2/5] ocfs2/dlm: add lockres as parameter to dlm_new_lock()
...M_LKSB_GET_LVB;
+ mlog(0, "set DLM_LKSB_GET_LVB flag\n");
+ }
+
dlm_lock_attach_lockres(newlock, res);
status = dlmlock_master(dlm, res, newlock, be32_to_cpu(create->flags));
@@ -678,16 +679,6 @@ retry_convert:
goto error;
}
- dlm_get_next_cookie(dlm->node_num, &tmpcookie);
- lock = dlm_new_lock(mode, dlm->node_num, tmpcookie, lksb);
- if (!lock) {
- dlm_error(status);
- goto error;
- }
-
- if (!recovery)
- dlm_wait_for_recovery(dlm);
-
/* find or create the lock resource */
res = dlm_get_lock_resource(dlm, name, namelen, flags);
if (!res) {
@...