Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165142
b: refs/heads/master
c: d92bc51
h: refs/heads/master
v: v3
  • Loading branch information
Coly Li authored and Joel Becker committed Sep 23, 2009
1 parent b592a12 commit a610a65
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: a2f2ddbf2bafdbc7e4f3bbf09439b42c8fee2747
refs/heads/master: d92bc5127b27f315ef0ef2c1e1829fd6a5cba54a
5 changes: 4 additions & 1 deletion trunk/fs/ocfs2/dlmglue.c
Original file line number Diff line number Diff line change
Expand Up @@ -1577,8 +1577,10 @@ int ocfs2_rw_lock(struct inode *inode, int write)
(unsigned long long)OCFS2_I(inode)->ip_blkno,
write ? "EXMODE" : "PRMODE");

if (ocfs2_mount_local(osb))
if (ocfs2_mount_local(osb)) {
mlog_exit(0);
return 0;
}

lockres = &OCFS2_I(inode)->ip_rw_lockres;

Expand Down Expand Up @@ -3038,6 +3040,7 @@ static void ocfs2_unlock_ast(void *opaque, int error)
"unlock_action %d\n", error, lockres->l_name,
lockres->l_unlock_action);
spin_unlock_irqrestore(&lockres->l_lock, flags);
mlog_exit_void();
return;
}

Expand Down

0 comments on commit a610a65

Please sign in to comment.