bcache: Don't use op->insert_collision
authorKent Overstreet <kmo@daterainc.com>
Thu, 25 Jul 2013 01:06:22 +0000 (18:06 -0700)
committerKent Overstreet <kmo@daterainc.com>
Mon, 11 Nov 2013 05:56:30 +0000 (21:56 -0800)
commit6054c6d4da1940c7bf8870c6393773aa794f53d8
tree5851d01503e16884cc733284ae102d27d0fe71ca
parent1b207d80d5b986fb305bc899357435d319319513
bcache: Don't use op->insert_collision

When we convert bch_btree_insert() to bch_btree_map_leaf_nodes(), we
won't be passing struct btree_op to bch_btree_insert() anymore - so we
need a different way of returning whether there was a collision (really,
a replace collision).

Signed-off-by: Kent Overstreet <kmo@daterainc.com>
drivers/md/bcache/btree.c
drivers/md/bcache/movinggc.c
drivers/md/bcache/request.c
drivers/md/bcache/request.h
drivers/md/bcache/writeback.c