xfs: don't set XFS_BTCUR_BPRV_WASDEL in xfs_bunmapi
authorChristoph Hellwig <hch@lst.de>
Tue, 17 Oct 2017 21:16:20 +0000 (14:16 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 26 Oct 2017 22:38:20 +0000 (15:38 -0700)
commitb213d69293cf003e6f0c63adfee6fcc70e3afee6
treed4ca773f9f0bc60a7f77c590681a7ad94d0850b2
parente3f0f7563e8a2589e3acc26a41f7a7867a33536d
xfs: don't set XFS_BTCUR_BPRV_WASDEL in xfs_bunmapi

The XFS_BTCUR_BPRV_WASDEL flag is supposed to indicate that we are
converting a delayed allocation to a real one, which isn't the case
in xfs_bunmapi.  Setting it could theoretically lead to misaccounting
here, but it's unlikely that we ever hit it in practice.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/libxfs/xfs_bmap.c