]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: rename xfs_trans ->t_agfl_dfops to ->t_dfops
authorBrian Foster <bfoster@redhat.com>
Thu, 12 Jul 2018 05:26:07 +0000 (22:26 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 12 Jul 2018 05:26:07 +0000 (22:26 -0700)
commit50ceea512ba6fa004c492492c199fdbbe501038d
treeb496b18ad3c609eb50f942666dbdebef76096c51
parent4c32a02159f20e3571cdd4279d5beb4dc441ff11
xfs: rename xfs_trans ->t_agfl_dfops to ->t_dfops

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>
fs/xfs/libxfs/xfs_alloc.c
fs/xfs/libxfs/xfs_defer.c
fs/xfs/xfs_inode.c
fs/xfs/xfs_symlink.c
fs/xfs/xfs_trans.c
fs/xfs/xfs_trans.h