diff options
author | Lachlan McIlroy <lachlan@sgi.com> | 2008-10-30 17:05:26 +1100 |
---|---|---|
committer | Lachlan McIlroy <lachlan@sgi.com> | 2008-10-30 17:05:26 +1100 |
commit | 24ee0e49c9cce23acb1758728cb09e8d2b53bd33 (patch) | |
tree | f6aa362a7b71bc34fb44c39278fdbef6b0ffce2f | |
parent | d1de802155341ab63e64d37c58c61d6f358bb3ad (diff) | |
download | op-kernel-dev-24ee0e49c9cce23acb1758728cb09e8d2b53bd33.zip op-kernel-dev-24ee0e49c9cce23acb1758728cb09e8d2b53bd33.tar.gz |
[XFS] Make xfs_btree_check_ptr() debug-only code.
SGI-PV: 985583
SGI-Modid: xfs-linux-melb:xfs-kern:32224a
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
-rw-r--r-- | fs/xfs/xfs_btree.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/xfs_btree.c b/fs/xfs/xfs_btree.c index b735c72..72a26bb 100644 --- a/fs/xfs/xfs_btree.c +++ b/fs/xfs/xfs_btree.c @@ -160,6 +160,7 @@ xfs_btree_check_lptr( return 0; } +#ifdef DEBUG /* * Check that (short) pointer is ok. */ @@ -197,6 +198,7 @@ xfs_btree_check_ptr( be32_to_cpu((&ptr->s)[index]), level); } } +#endif /* * Delete the btree cursor. |