bcache: Don't return -EINTR when insert finished
authorKent Overstreet <kmo@daterainc.com>
Sat, 7 Dec 2013 11:57:58 +0000 (03:57 -0800)
committerKent Overstreet <kmo@daterainc.com>
Wed, 8 Jan 2014 21:05:14 +0000 (13:05 -0800)
commit3b3e9e50dd951725130645660b526c4f367dcdee
tree860b547a43c62e0e1b578c5f3adabbb3a031d5bd
parente0a985a4b1b533311ec88c85177c45d036313f75
bcache: Don't return -EINTR when insert finished

We need to return -EINTR after a split because we invalidated iterators
(and freed the btree node) - but if we were finished inserting, we don't
want to redo the traversal.

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