bcache: Split out sort_extent_cmp()
authorKent Overstreet <kmo@daterainc.com>
Mon, 29 Jul 2013 01:35:09 +0000 (18:35 -0700)
committerKent Overstreet <kmo@daterainc.com>
Wed, 8 Jan 2014 21:05:12 +0000 (13:05 -0800)
commit911c9610099f26e9e6ea3d1962ce24f53890b163
tree21dc0ae5850dc64756974aedacc0380a3e01b12e
parentfafff81cead78157099df1ee10af16cc51893ddc
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>
drivers/md/bcache/bset.c
drivers/md/bcache/bset.h
drivers/md/bcache/btree.c
drivers/md/bcache/btree.h