summaryrefslogtreecommitdiff
path: root/drivers/md/bcache/btree.c
diff options
context:
space:
mode:
authorKent Overstreet <kmo@daterainc.com>2013-07-31 11:03:54 +0400
committerKent Overstreet <kmo@daterainc.com>2013-11-11 09:56:40 +0400
commit65d22e911bfc4f46cda4751f1b1926b43c316c14 (patch)
tree2d860067f2cb0d25a3fda0b9d3873d911ce364fe /drivers/md/bcache/btree.c
parent8aee122071a69ca6fa3314da7713bdf0b61dc07c (diff)
downloadlinux-65d22e911bfc4f46cda4751f1b1926b43c316c14.tar.xz
bcache: Move spinlock into struct time_stats
Minor cleanup. Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Diffstat (limited to 'drivers/md/bcache/btree.c')
-rw-r--r--drivers/md/bcache/btree.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/md/bcache/btree.c b/drivers/md/bcache/btree.c
index adc5bb0d8e92..1a7530cd1407 100644
--- a/drivers/md/bcache/btree.c
+++ b/drivers/md/bcache/btree.c
@@ -317,10 +317,7 @@ void bch_btree_node_read(struct btree *b)
goto err;
bch_btree_node_read_done(b);
-
- spin_lock(&b->c->btree_read_time_lock);
bch_time_stats_update(&b->c->btree_read_time, start_time);
- spin_unlock(&b->c->btree_read_time_lock);
return;
err: