]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_logprint: remove the printing of transaction type
authorHou Tao <houtao1@huawei.com>
Mon, 19 Sep 2016 06:00:04 +0000 (16:00 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 19 Sep 2016 06:00:04 +0000 (16:00 +1000)
commit4fd2b07598d92f1677345b8372a79ac5ab31838c
tree29edc77f6415c0d956b96dfdd928c14c315c222a
parent7f510afb4a3ecb2d4a9991054a13e4dbbad15120
xfs_logprint: remove the printing of transaction type

THe kernel stopped using meaningful types in transaction headers
when delayed logging was introduced. Since then the only transaction
type that reaches the journal is a "Checkpoint" type. Since then,
we've effectivey broken the transaction type printing for newer
kernels, and the current kernels don't even have transaction types
internally. Hence this logprint function is stale, broken, and
causing us problems.

This patch removes the transaction type parsing. If a user needs
this information from logprint, we can still build a binary from a
prior version that correctly decoded the transaction type (e.g.
3.2.1) for that purpose.

Signed-off-by: Hou Tao <houtao1@huawei.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
logprint/log_misc.c
logprint/log_print_trans.c
logprint/logprint.h