Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 371038
b: refs/heads/master
c: d5929de
h: refs/heads/master
v: v3
  • Loading branch information
Dave Chinner authored and Ben Myers committed Mar 7, 2013
1 parent 48a97a3 commit 3876bd1
Show file tree
Hide file tree
Showing 2 changed files with 4 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: e8108cedb1c5d1dc359690d18ca997e97a0061d2
refs/heads/master: d5929de8337fef46f3e307914ed0f3cb845e66c1
4 changes: 3 additions & 1 deletion trunk/fs/xfs/xfs_buf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,9 @@ xfs_buf_iodone_work(
bool read = !!(bp->b_flags & XBF_READ);

bp->b_flags &= ~(XBF_READ | XBF_WRITE | XBF_READ_AHEAD);
if (read && bp->b_ops)

/* only validate buffers that were read without errors */
if (read && bp->b_ops && !bp->b_error && (bp->b_flags & XBF_DONE))
bp->b_ops->verify_read(bp);

if (bp->b_iodone)
Expand Down

0 comments on commit 3876bd1

Please sign in to comment.