]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Wed, 11 Sep 2013 01:53:22 +0000 (18:53 -0700)
commit2c52a4f5a378eb5cb866760682851724a0550e6a
treefa3b4ef17945632c87bcd7f03ec0030938759d6e
parent0d4b3ae87ccd8c4c06597dbf864c0a139ae58dbc
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