diff options
author | Brian Foster <bfoster@redhat.com> | 2018-08-01 17:20:35 +0300 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-08-03 09:05:14 +0300 |
commit | c03edc9e49b6a3c1f4b27f505a04093ab333b245 (patch) | |
tree | 74b233f0b453240f82bea45ce07bbaff70847b20 /fs/xfs/xfs_trans.c | |
parent | 0f37d1780c3d864599fb377dcb47ad1aa0686b4e (diff) | |
download | linux-c03edc9e49b6a3c1f4b27f505a04093ab333b245.tar.xz |
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/xfs_trans.c')
0 files changed, 0 insertions, 0 deletions