summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_buf.c
diff options
context:
space:
mode:
authorDave Chinner <david@fromorbit.com>2016-03-07 09:31:00 +1100
committerDave Chinner <david@fromorbit.com>2016-03-07 09:31:00 +1100
commit7f0ed5461a6f5e4ccd2a3ca1047edbe4bbe217fc (patch)
tree47649e956583dd38e869e65d6ee5b20fac0ee1ef /fs/xfs/xfs_buf.c
parenta2bbcb60ff9a8e8a4159e11bc3ed84f7221fe79f (diff)
parent12877da58429affc988403817b88d901fe01f8c1 (diff)
Merge branch 'xfs-buf-macro-cleanup-4.6' into for-next
Diffstat (limited to 'fs/xfs/xfs_buf.c')
-rw-r--r--fs/xfs/xfs_buf.c2
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(
if (bp) {
trace_xfs_buf_read(bp, flags, _RET_IP_);
- if (!XFS_BUF_ISDONE(bp)) {
+ if (!(bp->b_flags & XBF_DONE)) {
XFS_STATS_INC(target->bt_mount, xb_get_read);
bp->b_ops = ops;
_xfs_buf_read(bp, flags);