diff options
author | Kent Overstreet <kmo@daterainc.com> | 2013-07-29 03:35:09 +0200 |
---|---|---|
committer | Kent Overstreet <kmo@daterainc.com> | 2014-01-08 22:05:12 +0100 |
commit | 911c9610099f26e9e6ea3d1962ce24f53890b163 (patch) | |
tree | 21dc0ae5850dc64756974aedacc0380a3e01b12e /drivers/md/bcache/btree.h | |
parent | bcache: Bkey indexing renaming (diff) | |
download | linux-911c9610099f26e9e6ea3d1962ce24f53890b163.tar.xz linux-911c9610099f26e9e6ea3d1962ce24f53890b163.zip |
bcache: Split out sort_extent_cmp()
Only use extent comparison for comparing extents, so we're not using
START_KEY() on other key types (i.e. btree pointers)
Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Diffstat (limited to 'drivers/md/bcache/btree.h')
-rw-r--r-- | drivers/md/bcache/btree.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/md/bcache/btree.h b/drivers/md/bcache/btree.h index 580b01137264..2a5a8481f25e 100644 --- a/drivers/md/bcache/btree.h +++ b/drivers/md/bcache/btree.h @@ -225,13 +225,6 @@ static inline void set_gc_sectors(struct cache_set *c) atomic_set(&c->sectors_to_gc, c->sb.bucket_size * c->nbuckets / 16); } -static inline struct bkey *bch_btree_iter_init(struct btree *b, - struct btree_iter *iter, - struct bkey *search) -{ - return __bch_btree_iter_init(b, iter, search, b->sets); -} - static inline bool bch_ptr_invalid(struct btree *b, const struct bkey *k) { if (b->level) |