提交 24ee0e49 编写于 作者: L Lachlan McIlroy

[XFS] Make xfs_btree_check_ptr() debug-only code.

SGI-PV: 985583

SGI-Modid: xfs-linux-melb:xfs-kern:32224a
Signed-off-by: NLachlan McIlroy <lachlan@sgi.com>
Signed-off-by: NChristoph Hellwig <hch@infradead.org>
上级 d1de8021
...@@ -160,6 +160,7 @@ xfs_btree_check_lptr( ...@@ -160,6 +160,7 @@ xfs_btree_check_lptr(
return 0; return 0;
} }
#ifdef DEBUG
/* /*
* Check that (short) pointer is ok. * Check that (short) pointer is ok.
*/ */
...@@ -197,6 +198,7 @@ xfs_btree_check_ptr( ...@@ -197,6 +198,7 @@ xfs_btree_check_ptr(
be32_to_cpu((&ptr->s)[index]), level); be32_to_cpu((&ptr->s)[index]), level);
} }
} }
#endif
/* /*
* Delete the btree cursor. * Delete the btree cursor.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册