summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_refcount_item.h
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2018-08-01 16:20:29 +0200
committerDarrick J. Wong <darrick.wong@oracle.com>2018-08-03 08:05:13 +0200
commit98719051e75ccf9eca18bd2b569de4ea637b4479 (patch)
treef07a3069240d0330b138b3fec67cbf7b778b4f0f /fs/xfs/xfs_refcount_item.h
parentxfs: check da node magic in _node_lookup_int (diff)
downloadlinux-98719051e75ccf9eca18bd2b569de4ea637b4479.tar.xz
linux-98719051e75ccf9eca18bd2b569de4ea637b4479.zip
xfs: refactor internal dfops initialization
The current transaction allocation code conditionally initializes the ->t_dfops indirection pointer. Transaction commit/cancel check the validity of the pointer to determine whether to finish/cancel the internal dfops. This disallows the ability to use the internal dfops list as a temporary container (via xfs_trans_alloc_empty()). Refactor transaction allocation to always initialize ->t_dfops and check permanent reservation state on transaction commit/cancel. 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>
Diffstat (limited to 'fs/xfs/xfs_refcount_item.h')
0 files changed, 0 insertions, 0 deletions