summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_inode.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_inode.c
parenta2bbcb60ff9a8e8a4159e11bc3ed84f7221fe79f (diff)
parent12877da58429affc988403817b88d901fe01f8c1 (diff)
Merge branch 'xfs-buf-macro-cleanup-4.6' into for-next
Diffstat (limited to 'fs/xfs/xfs_inode.c')
-rw-r--r--fs/xfs/xfs_inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c
index 26bac4ab79a3..96f606deee31 100644
--- a/fs/xfs/xfs_inode.c
+++ b/fs/xfs/xfs_inode.c
@@ -3293,7 +3293,7 @@ cluster_corrupt_out:
* mark it as stale and brelse.
*/
if (bp->b_iodone) {
- XFS_BUF_UNDONE(bp);
+ bp->b_flags &= ~XBF_DONE;
xfs_buf_stale(bp);
xfs_buf_ioerror(bp, -EIO);
xfs_buf_ioend(bp);