diff options
-rw-r--r-- | drivers/md/bcache/btree_cache.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/md/bcache/btree_cache.c b/drivers/md/bcache/btree_cache.c index 60fb08f8b280..fbd209081ffd 100644 --- a/drivers/md/bcache/btree_cache.c +++ b/drivers/md/bcache/btree_cache.c @@ -642,13 +642,6 @@ retry: BUG_ON(PTR_ERR(b) != -EAGAIN); return b; } - - /* - * But we still have to drop read locks before we return, for - * deadlock avoidance: - */ - if (btree_node_read_locked(iter, level + 1)) - btree_node_unlock(iter, level + 1); } else { /* * There's a potential deadlock with splits and insertions into |