Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 19720
b: refs/heads/master
c: 6eff579
h: refs/heads/master
v: v3
  • Loading branch information
Mark Fasheh committed Feb 3, 2006
1 parent e468abb commit 814aca1
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 1a1974fd4533afdb73873cdacb942d9a79ff7c9b
refs/heads/master: 6eff5790d57a5c9c01489c95946881808a4b2a2c
6 changes: 5 additions & 1 deletion trunk/fs/ocfs2/journal.c
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,11 @@ int ocfs2_journal_init(struct ocfs2_journal *journal, int *dirty)
SET_INODE_JOURNAL(inode);
OCFS2_I(inode)->ip_open_count++;

status = ocfs2_meta_lock(inode, NULL, &bh, 1);
/* Skip recovery waits here - journal inode metadata never
* changes in a live cluster so it can be considered an
* exception to the rule. */
status = ocfs2_meta_lock_full(inode, NULL, &bh, 1,
OCFS2_META_LOCK_RECOVERY);
if (status < 0) {
if (status != -ERESTARTSYS)
mlog(ML_ERROR, "Could not get lock on journal!\n");
Expand Down

0 comments on commit 814aca1

Please sign in to comment.