diff options
Diffstat (limited to 'fs/xfs/xfs_alloc_btree.c')
-rw-r--r-- | fs/xfs/xfs_alloc_btree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_alloc_btree.c b/fs/xfs/xfs_alloc_btree.c index 30c4c1434faf..cafc90251d19 100644 --- a/fs/xfs/xfs_alloc_btree.c +++ b/fs/xfs/xfs_alloc_btree.c | |||
@@ -386,7 +386,7 @@ const struct xfs_buf_ops xfs_allocbt_buf_ops = { | |||
386 | }; | 386 | }; |
387 | 387 | ||
388 | 388 | ||
389 | #ifdef DEBUG | 389 | #if defined(DEBUG) || defined(XFS_WARN) |
390 | STATIC int | 390 | STATIC int |
391 | xfs_allocbt_keys_inorder( | 391 | xfs_allocbt_keys_inorder( |
392 | struct xfs_btree_cur *cur, | 392 | struct xfs_btree_cur *cur, |
@@ -442,7 +442,7 @@ static const struct xfs_btree_ops xfs_allocbt_ops = { | |||
442 | .init_ptr_from_cur = xfs_allocbt_init_ptr_from_cur, | 442 | .init_ptr_from_cur = xfs_allocbt_init_ptr_from_cur, |
443 | .key_diff = xfs_allocbt_key_diff, | 443 | .key_diff = xfs_allocbt_key_diff, |
444 | .buf_ops = &xfs_allocbt_buf_ops, | 444 | .buf_ops = &xfs_allocbt_buf_ops, |
445 | #ifdef DEBUG | 445 | #if defined(DEBUG) || defined(XFS_WARN) |
446 | .keys_inorder = xfs_allocbt_keys_inorder, | 446 | .keys_inorder = xfs_allocbt_keys_inorder, |
447 | .recs_inorder = xfs_allocbt_recs_inorder, | 447 | .recs_inorder = xfs_allocbt_recs_inorder, |
448 | #endif | 448 | #endif |