Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 229001
b: refs/heads/master
c: 1e6d915
h: refs/heads/master
i:
  228999: 838f504
v: v3
  • Loading branch information
Tao Ma authored and Joel Becker committed Dec 23, 2010
1 parent 07b811e commit 362ac89
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: cfc069d3fa24d7c6357e3b731e97f94db495bf0c
refs/heads/master: 1e6d9153df27923649976554d034a69ac7b28f95
5 changes: 4 additions & 1 deletion trunk/fs/ocfs2/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -1017,8 +1017,11 @@ static int ocfs2_double_lock(struct ocfs2_super *osb,
* An error return must mean that no cluster locks
* were held on function exit.
*/
if (oi1->ip_blkno != oi2->ip_blkno)
if (oi1->ip_blkno != oi2->ip_blkno) {
ocfs2_inode_unlock(inode2, 1);
brelse(*bh2);
*bh2 = NULL;
}

if (status != -ENOENT)
mlog_errno(status);
Expand Down

0 comments on commit 362ac89

Please sign in to comment.