aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/buffer_head_io.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ocfs2/buffer_head_io.c')
-rw-r--r--fs/ocfs2/buffer_head_io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ocfs2/buffer_head_io.c b/fs/ocfs2/buffer_head_io.c
index d9ebe11c8990..1d098c3c00e0 100644
--- a/fs/ocfs2/buffer_head_io.c
+++ b/fs/ocfs2/buffer_head_io.c
@@ -342,6 +342,7 @@ int ocfs2_read_blocks(struct ocfs2_caching_info *ci, u64 block, int nr,
342 * for this bh as it's not marked locally 342 * for this bh as it's not marked locally
343 * uptodate. */ 343 * uptodate. */
344 status = -EIO; 344 status = -EIO;
345 clear_buffer_needs_validate(bh);
345 put_bh(bh); 346 put_bh(bh);
346 bhs[i] = NULL; 347 bhs[i] = NULL;
347 continue; 348 continue;