]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - fs/xfs/xfs_bmap.c
[XFS] Move XFS_BMAP_SANITY_CHECK out of line.
authorChristoph Hellwig <hch@infradead.org>
Thu, 30 Oct 2008 06:14:43 +0000 (17:14 +1100)
committerLachlan McIlroy <lachlan@sgi.com>
Thu, 30 Oct 2008 06:14:43 +0000 (17:14 +1100)
commit4e8938feba770b583fb13d249c17943961731a3e
tree311411b8561b8c9222996ab72ddcb4303be3d096
parent7cc95a821df8f09a5d37a923cf8c3a7c3ee00c29
[XFS] Move XFS_BMAP_SANITY_CHECK out of line.

Move the XFS_BMAP_SANITY_CHECK macro out of line and make it a properly
typed function. Also pass the xfs_buf for the btree block instead of just
the btree block header, as we will need some additional information for it
to implement CRC checking of btree blocks.

SGI-PV: 988146

SGI-Modid: xfs-linux-melb:xfs-kern:32301a

Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Donald Douwsma <donaldd@sgi.com>
Signed-off-by: David Chinner <david@fromorbit.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
fs/xfs/xfs_bmap.c
fs/xfs/xfs_bmap_btree.h