gfs2: Get rid of gfs2_log_header_in
authorAndreas Gruenbacher <agruenba@redhat.com>
Tue, 16 Jan 2018 22:07:57 +0000 (23:07 +0100)
committerBob Peterson <rpeterso@redhat.com>
Mon, 22 Jan 2018 14:06:15 +0000 (07:06 -0700)
commit0ff5916ad4eb857e03e7586665d1c022ef3277f6
tree0aa2f49c36c8c7d574a8d037e6495119e63beabd
parent88b65ce5fdd9ac75df1534cf6503db0ccb230ecb
gfs2: Get rid of gfs2_log_header_in

Get rid of gfs2_log_header_in by integrating it into get_log_header.
Clean up the crc32 computations and use the same functions for encoding
and decoding to make things less confusing.  Eliminate lh_hash from
gfs2_log_header_host which is completely useless.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
fs/gfs2/incore.h
fs/gfs2/log.c
fs/gfs2/recovery.c