xfs: only look at the fork format in xfs_idestroy_fork
authorChristoph Hellwig <hch@lst.de>
Tue, 13 Apr 2021 18:15:10 +0000 (11:15 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 15 Apr 2021 16:35:50 +0000 (09:35 -0700)
commit0eba048dd3b73fab6c97742468176dff58650860
treea93d561e20015d2540286859c17176c46c4f77d2
parent605e74e29218bb22edd5ddcf90a4d37df00446cc
xfs: only look at the fork format in xfs_idestroy_fork

Stop using the XFS_IFEXTENTS flag, and instead switch on the fork format
in xfs_idestroy_fork to decide how to cleanup.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/libxfs/xfs_inode_fork.c