aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/libxfs/xfs_dir2.c
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2018-08-01 07:20:35 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2018-08-02 23:05:14 -0700
commitc03edc9e49b6a3c1f4b27f505a04093ab333b245 (patch)
tree74b233f0b453240f82bea45ce07bbaff70847b20 /fs/xfs/libxfs/xfs_dir2.c
parentxfs: pass transaction to xfs_defer_add() (diff)
downloadlinux-dev-c03edc9e49b6a3c1f4b27f505a04093ab333b245.tar.xz
linux-dev-c03edc9e49b6a3c1f4b27f505a04093ab333b245.zip
xfs: always defer agfl block frees
The AGFL fixup code conditionally defers block frees from the free list based on whether the current transaction has an associated xfs_defer_ops structure. Now that dfops is embedded in the transaction and the internal dfops is used unconditionally, this invariant is always true. Remove the now dead logic to check for ->t_dfops in xfs_alloc_fix_freelist() and unconditionally defer AGFL block frees. Signed-off-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_dir2.c')
0 files changed, 0 insertions, 0 deletions