Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 109181
b: refs/heads/master
c: d6817cd
h: refs/heads/master
i:
  109179: 46cea95
v: v3
  • Loading branch information
Joel Becker authored and Mark Fasheh committed Aug 25, 2008
1 parent 29a4b3c commit 896accd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: de6bf18e9ce0df807dab08cff08751cac383429d
refs/heads/master: d6817cdbd143f87f9d7c59a4c3194091190eeb84
7 changes: 4 additions & 3 deletions trunk/fs/ocfs2/stackglue.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,14 @@ static int ocfs2_stack_driver_request(const char *stack_name,
goto out;
}

/* Ok, the stack is pinned */
p->sp_count++;
active_stack = p;

rc = 0;

out:
/* If we found it, pin it */
if (!rc)
active_stack->sp_count++;

spin_unlock(&ocfs2_stack_lock);
return rc;
}
Expand Down

0 comments on commit 896accd

Please sign in to comment.