]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: streamline defer op type handling
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 27 Feb 2019 23:13:44 +0000 (17:13 -0600)
committerEric Sandeen <sandeen@redhat.com>
Wed, 27 Feb 2019 23:13:44 +0000 (17:13 -0600)
commitc351439733af03ab714c6762aca197d4f0623367
treebbfe9bd800bbae7729c2a94c9ea24f1d871c11d3
parent29ce8c427e728e21c7ea0cd73a481f0d6e4f1005
xfs: streamline defer op type handling

Source kernel commit: 02b100fb83f9b0f8719deef6c4ed973b4d9ce00c

There's no need to bundle a pointer to the defer op type into the defer
op control structure.  Instead, store the defer op type enum, which
enables us to shorten some of the lines.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/defer_item.c
libxfs/xfs_defer.c
libxfs/xfs_defer.h