]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: streamline defer op type handling
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 12 Dec 2018 16:46:22 +0000 (08:46 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 12 Dec 2018 16:47:16 +0000 (08:47 -0800)
commit61c7076a349b635d1b28b64116f3dc5d11ce722b
tree7851231aa2e3edf3865cb806d654bc07e3ab94aa
parent91144ba975e1326eb28e93b4e6f911ac1bd09fbb
xfs: streamline defer op type handling

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>
fs/xfs/libxfs/xfs_defer.c
fs/xfs/libxfs/xfs_defer.h
fs/xfs/xfs_trace.h
fs/xfs/xfs_trans_bmap.c
fs/xfs/xfs_trans_extfree.c
fs/xfs/xfs_trans_refcount.c
fs/xfs/xfs_trans_rmap.c