diff --git a/[refs] b/[refs] index 16a517d2323c..0a517ad23537 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4442f518269c6b3686fcbcadad22dc4475309b16 +refs/heads/master: 28d57d437786eb3e44f1ca3f0f41e7cfe29c6dd4 diff --git a/trunk/fs/ocfs2/super.c b/trunk/fs/ocfs2/super.c index 1c3acc4654d8..7ac83a81ee55 100644 --- a/trunk/fs/ocfs2/super.c +++ b/trunk/fs/ocfs2/super.c @@ -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; }