summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_inode.c
diff options
context:
space:
mode:
authorDave Chinner <david@fromorbit.com>2016-03-06 23:31:00 +0100
committerDave Chinner <david@fromorbit.com>2016-03-06 23:31:00 +0100
commit7f0ed5461a6f5e4ccd2a3ca1047edbe4bbe217fc (patch)
tree47649e956583dd38e869e65d6ee5b20fac0ee1ef /fs/xfs/xfs_inode.c
parentMerge branch 'xfs-gut-icdinode-4.6' into for-next (diff)
parentxfs: remove XFS_BUF_ZEROFLAGS macro (diff)
downloadlinux-7f0ed5461a6f5e4ccd2a3ca1047edbe4bbe217fc.tar.xz
linux-7f0ed5461a6f5e4ccd2a3ca1047edbe4bbe217fc.zip
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);