Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 131824
b: refs/heads/master
c: 28d57d4
h: refs/heads/master
v: v3
  • Loading branch information
wengang wang authored and Mark Fasheh committed Feb 26, 2009
1 parent 90bb2ac commit 9659a2e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4442f518269c6b3686fcbcadad22dc4475309b16
refs/heads/master: 28d57d437786eb3e44f1ca3f0f41e7cfe29c6dd4
7 changes: 7 additions & 0 deletions trunk/fs/ocfs2/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -1537,6 +1537,13 @@ static int ocfs2_get_sector(struct super_block *sb,
unlock_buffer(*bh);
ll_rw_block(READ, 1, bh);
wait_on_buffer(*bh);
if (!buffer_uptodate(*bh)) {
mlog_errno(-EIO);
brelse(*bh);
*bh = NULL;
return -EIO;
}

return 0;
}

Expand Down

0 comments on commit 9659a2e

Please sign in to comment.