]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: rename xfs_trans ->t_agfl_dfops to ->t_dfops
authorBrian Foster <bfoster@redhat.com>
Thu, 4 Oct 2018 19:23:01 +0000 (14:23 -0500)
committerEric Sandeen <sandeen@redhat.com>
Thu, 4 Oct 2018 19:23:01 +0000 (14:23 -0500)
commit55fb19bb73f25b472fdb0bdf5547eeea19582f7f
tree25e967acc46e06a4a6b39068ea58426baaec060e
parent8197bceb551298338372f26dcd49a5f1ec3c0a91
xfs: rename xfs_trans ->t_agfl_dfops to ->t_dfops

Source kernel commit: 6aa6718439ac6907b3c34cbe7ac2c71408f84f6e

The ->t_agfl_dfops field is currently used to defer agfl block frees
from associated transaction contexts. While all known problematic
contexts have already been updated to use ->t_agfl_dfops, the
broader goal is defer agfl frees from all callers that already use a
deferred operations structure. Further, the transaction field
facilitates a good amount of code clean up where the transaction and
dfops have historically been passed down through the stack
separately.

Rename the field to something more generic to prepare to use it as
such throughout XFS. This patch does not change behavior.
Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
include/xfs_trans.h
libxfs/trans.c
libxfs/xfs_alloc.c
libxfs/xfs_defer.c