]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: (xfs) cleanup checksum code
authorKarel Zak <kzak@redhat.com>
Mon, 3 Oct 2022 08:30:23 +0000 (10:30 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 3 Oct 2022 08:30:23 +0000 (10:30 +0200)
commit4aad4ce244239dc59e250c0d2683a38f01db7615
tree8a6211644a1b156ef061b0384db91e9622e5665d
parent5cc52337c13efbbb945a15249d899e938d339779
libblkid: (xfs) cleanup checksum code

* move variables definition to the begin of the block
* check blkid_probe_get_sb_buffer() result [detected by coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
libblkid/src/superblocks/xfs.c