diff options
author | Kent Overstreet <kmo@daterainc.com> | 2013-10-25 01:36:03 +0200 |
---|---|---|
committer | Kent Overstreet <kmo@daterainc.com> | 2013-11-11 06:56:34 +0100 |
commit | 280481d06c8a683d9aaa26125476222e76b733c5 (patch) | |
tree | 513b7387da60b3d497a108335f743369106eb7a3 /security | |
parent | bcache: Fix bch_ptr_bad() (diff) | |
download | linux-280481d06c8a683d9aaa26125476222e76b733c5.tar.xz linux-280481d06c8a683d9aaa26125476222e76b733c5.zip |
bcache: Debug code improvements
Couple changes:
* Consolidate bch_check_keys() and bch_check_key_order(), and move the
checks that only check_key_order() could do to bch_btree_iter_next().
* Get rid of CONFIG_BCACHE_EDEBUG - now, all that code is compiled in
when CONFIG_BCACHE_DEBUG is enabled, and there's now a sysfs file to
flip on the EDEBUG checks at runtime.
* Dropped an old not terribly useful check in rw_unlock(), and
refactored/improved a some of the other debug code.
Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions