]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: fold dfops into the transaction
authorBrian Foster <bfoster@redhat.com>
Fri, 5 Oct 2018 02:36:12 +0000 (21:36 -0500)
committerEric Sandeen <sandeen@redhat.com>
Fri, 5 Oct 2018 02:36:12 +0000 (21:36 -0500)
commit92a8736e0c77082999519bbb10027f6897a14d24
treedb72caca7afe80a9204f314b6107c684fe3cb3a8
parent6dc241283bae10782fb976414cefc635cbfa1cd9
xfs: fold dfops into the transaction

Source kernel commit: 9d9e6233859706875c392707efd6d516cfb764fb

struct xfs_defer_ops has now been reduced to a single list_head. The
external dfops mechanism is unused and thus everywhere a (permanent)
transaction is accessible the associated dfops structure is as well.

Remove the xfs_defer_ops structure and fold the list_head into the
transaction. Also remove the last remnant of external dfops in
xfs_trans_dup().

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>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
12 files changed:
include/xfs_inode.h
include/xfs_trace.h
include/xfs_trans.h
libxfs/libxfs_api_defs.h
libxfs/trans.c
libxfs/xfs_bmap.c
libxfs/xfs_btree.h
libxfs/xfs_da_btree.h
libxfs/xfs_defer.c
libxfs/xfs_defer.h
libxfs/xfs_dir2.c
libxfs/xfs_dir2.h