]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: idiotproof defer op type configuration
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)
commit29ce8c427e728e21c7ea0cd73a481f0d6e4f1005
tree4a9e6f7e481a6130d2c1e5171ff2a0d7c076a3c0
parentbf64a47a75305b5844fe9c72b7e599d85fdd8682
xfs: idiotproof defer op type configuration

Source kernel commit: bc9f2b7c8a732d896753709cc9d495780ba7e9f9

Recently, we forgot to port a new defer op type to xfsprogs, which
caused us some userspace pain.  Reorganize the way we make libxfs
clients supply defer op type information so that all type information
has to be provided at build time instead of risky runtime dynamic
configuration.

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>
include/xfs_trans.h
libxfs/defer_item.c
libxfs/init.c
libxfs/xfs_defer.c
libxfs/xfs_defer.h