]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit - libxfs/xfs_btree.c
libxfs: refactor btree crc verifier
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 10 Jan 2017 02:16:33 +0000 (20:16 -0600)
committerEric Sandeen <sandeen@redhat.com>
Tue, 10 Jan 2017 02:16:33 +0000 (20:16 -0600)
commit4ca4eb8965d6d4d5ad47866247527a816bb04dde
treefc6f052d077047429205fa779e046a51e1b897e5
parent35244670240fb0538dd09381d015e06b416e7d8c
libxfs: refactor btree crc verifier

In a65d8d293b ("libxfs: validate metadata LSNs against log on v5
superblocks") the hascrc check was modified to use the helper mp
variable in the kernel.  This was left out of the xfsprogs patch, so
change it here too.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_btree.c