projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1de802
)
[XFS] Make xfs_btree_check_ptr() debug-only code.
author
Lachlan McIlroy
<lachlan@sgi.com>
Thu, 30 Oct 2008 06:05:26 +0000
(17:05 +1100)
committer
Lachlan McIlroy
<lachlan@sgi.com>
Thu, 30 Oct 2008 06:05:26 +0000
(17:05 +1100)
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>
fs/xfs/xfs_btree.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/xfs/xfs_btree.c
b/fs/xfs/xfs_btree.c
index b735c7299a8edf9b117904ef9527f332c8fb4e05..72a26bb764309059c241c395221a2f160a16ed9f 100644
(file)
--- 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.