diff options
author | Kent Overstreet <kmo@daterainc.com> | 2013-07-28 18:35:09 -0700 |
---|---|---|
committer | Kent Overstreet <kmo@daterainc.com> | 2014-01-08 13:05:12 -0800 |
commit | 911c9610099f26e9e6ea3d1962ce24f53890b163 (patch) | |
tree | 21dc0ae5850dc64756974aedacc0380a3e01b12e /drivers/md/bcache/bset.h | |
parent | fafff81cead78157099df1ee10af16cc51893ddc (diff) | |
download | linux-stable-911c9610099f26e9e6ea3d1962ce24f53890b163.tar.gz linux-stable-911c9610099f26e9e6ea3d1962ce24f53890b163.tar.bz2 linux-stable-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/bset.h')
-rw-r--r-- | drivers/md/bcache/bset.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/bcache/bset.h b/drivers/md/bcache/bset.h index 88b6edbf508b..91bcbdb04085 100644 --- a/drivers/md/bcache/bset.h +++ b/drivers/md/bcache/bset.h @@ -305,8 +305,8 @@ struct bkey *bch_btree_iter_next_filter(struct btree_iter *, struct btree *, ptr_filter_fn); void bch_btree_iter_push(struct btree_iter *, struct bkey *, struct bkey *); -struct bkey *__bch_btree_iter_init(struct btree *, struct btree_iter *, - struct bkey *, struct bset_tree *); +struct bkey *bch_btree_iter_init(struct btree *, struct btree_iter *, + struct bkey *); /* 32 bits total: */ #define BKEY_MID_BITS 3 |