aboutsummaryrefslogtreecommitdiff
path: root/fs/xfs/libxfs/xfs_da_btree.c
diff options
context:
space:
mode:
authorBrian Foster <[email protected]>2018-07-11 22:26:20 -0700
committerDarrick J. Wong <[email protected]>2018-07-11 22:26:20 -0700
commitbba59c5e4b38e160c6be25b2f4fe36ebc84f53df (patch)
treecdf16ceb3bf16bbc31b104d010ca714bd529afd1 /fs/xfs/libxfs/xfs_da_btree.c
parent3ae2d89174e4ba581093320afb48421ca95191d2 (diff)
xfs: add firstblock field to xfs_trans
A firstblock var is typically allocated and initialized along with xfs_defer_ops structures and passed around independent from the associated transaction. To facilitate combining the two, add an optional ->t_firstblock field to xfs_trans that can be used in place of an on-stack variable. The firstblock value follows the lifetime of the transaction, so initialize it on allocation and when a transaction rolls. Signed-off-by: Brian Foster <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'fs/xfs/libxfs/xfs_da_btree.c')
0 files changed, 0 insertions, 0 deletions