Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 38697
b: refs/heads/master
c: d2f222e
h: refs/heads/master
i:
  38695: c96f426
v: v3
  • Loading branch information
David Teigland authored and Steven Whitehouse committed May 19, 2006
1 parent 218de55 commit 6dd36c5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 320dd101e2d595a03439adb92b319f3af53dd1d0
refs/heads/master: d2f222e6310b073ae3d91b8d3d676621fae1314e
14 changes: 7 additions & 7 deletions trunk/fs/gfs2/locking/dlm/mount.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,19 +143,19 @@ static int gdlm_mount(char *table_name, char *host_data,
if (error)
goto out_free;

error = gdlm_kobject_setup(ls, fskobj);
if (error)
goto out_thread;

error = dlm_new_lockspace(ls->fsname, strlen(ls->fsname),
&ls->dlm_lockspace,
nodir ? DLM_LSFL_NODIR : 0,
GDLM_LVB_SIZE);
if (error) {
log_error("dlm_new_lockspace error %d", error);
goto out_thread;
goto out_kobj;
}

error = gdlm_kobject_setup(ls, fskobj);
if (error)
goto out_dlm;

lockstruct->ls_jid = ls->jid;
lockstruct->ls_first = ls->first;
lockstruct->ls_lockspace = ls;
Expand All @@ -164,8 +164,8 @@ static int gdlm_mount(char *table_name, char *host_data,
lockstruct->ls_lvb_size = GDLM_LVB_SIZE;
return 0;

out_dlm:
dlm_release_lockspace(ls->dlm_lockspace, 2);
out_kobj:
gdlm_kobject_release(ls);
out_thread:
gdlm_release_threads(ls);
out_free:
Expand Down

0 comments on commit 6dd36c5

Please sign in to comment.