Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210382
b: refs/heads/master
c: f5ce5a0
h: refs/heads/master
v: v3
  • Loading branch information
Sunil Mushran authored and Tao Ma committed Sep 8, 2010
1 parent f0c58e2 commit f7008e3
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: dc696aced9f09f05b1f927b93f5a7918017a3e49
refs/heads/master: f5ce5a08a40f2086435858ddc80cb40394b082eb
6 changes: 5 additions & 1 deletion trunk/fs/ocfs2/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,11 @@ static int ocfs2_read_locked_inode(struct inode *inode,
OCFS2_BH_IGNORE_CACHE);
} else {
status = ocfs2_read_blocks_sync(osb, args->fi_blkno, 1, &bh);
if (!status)
/*
* If buffer is in jbd, then its checksum may not have been
* computed as yet.
*/
if (!status && !buffer_jbd(bh))
status = ocfs2_validate_inode_block(osb->sb, bh);
}
if (status < 0) {
Expand Down

0 comments on commit f7008e3

Please sign in to comment.