OSDN Git Service

xfs: use the state defines in xfs_bmap_del_extent_real
authorChristoph Hellwig <hch@lst.de>
Tue, 17 Oct 2017 21:16:23 +0000 (14:16 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 26 Oct 2017 22:38:21 +0000 (15:38 -0700)
commit491f6f8abfa7a91d23b969be67ed476817bcefd7
tree2ae6e3df209ce02de77330f29f053a062956fd71
parent0173c689ff4c0855e24ceb898274af1339b5db48
xfs: use the state defines in xfs_bmap_del_extent_real

Use the same defines as the other extent add and delete helpers, which
both improves code readability and trace point output.

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