]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: factor out the CIL transaction header building
authorDave Chinner <dchinner@redhat.com>
Thu, 21 Apr 2022 00:33:23 +0000 (10:33 +1000)
committerDave Chinner <david@fromorbit.com>
Thu, 21 Apr 2022 00:33:23 +0000 (10:33 +1000)
commit7a5bdac5de71443e12019fbb0c95b06465e1539f
treedaee5877260ac70c1d14760223d2097a069294cd
parentc02c8228f39a35a18b7da5bed4327a96bdd1c782
xfs: factor out the CIL transaction header building

It is static code deep in the middle of the CIL push logic. Factor
it out into a helper so that it is clear and easy to modify
separately.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Chandan Babu R <chandan.babu@oracle.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_log_cil.c