diff options
Diffstat (limited to 'fs/xfs/xfs_buf.c')
-rw-r--r-- | fs/xfs/xfs_buf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_buf.c b/fs/xfs/xfs_buf.c index 435c7de42e5f..9a2191b91137 100644 --- a/fs/xfs/xfs_buf.c +++ b/fs/xfs/xfs_buf.c | |||
@@ -650,7 +650,7 @@ xfs_buf_read_map( | |||
650 | if (bp) { | 650 | if (bp) { |
651 | trace_xfs_buf_read(bp, flags, _RET_IP_); | 651 | trace_xfs_buf_read(bp, flags, _RET_IP_); |
652 | 652 | ||
653 | if (!XFS_BUF_ISDONE(bp)) { | 653 | if (!(bp->b_flags & XBF_DONE)) { |
654 | XFS_STATS_INC(target->bt_mount, xb_get_read); | 654 | XFS_STATS_INC(target->bt_mount, xb_get_read); |
655 | bp->b_ops = ops; | 655 | bp->b_ops = ops; |
656 | _xfs_buf_read(bp, flags); | 656 | _xfs_buf_read(bp, flags); |