]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: factor log item initialisation
authorDave Chinner <dchinner@redhat.com>
Tue, 21 May 2019 16:03:36 +0000 (11:03 -0500)
committerEric Sandeen <sandeen@redhat.com>
Tue, 21 May 2019 16:03:36 +0000 (11:03 -0500)
commitfb34b2d1f00823aeef748063935f7e52820951c5
tree067d010e62b97ea95c1c45bb6b272be1b676346d
parent31355f96af669ab0efb75f37f79707545dbbaaf4
xfs: factor log item initialisation

Each log item type does manual initialisation of the log item.
Delayed logging introduces new fields that need initialisation, so
factor all the open coded initialisation into a common function
first.

Source kernel commit: 43f5efc5b59db1b66e39fe9fdfc4ba6a27152afa

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
[sandeen: merge to userspace]
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Allison Collins <allison.henderson@oracle.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/libxfs_priv.h
libxfs/logitem.c
libxfs/util.c