summaryrefslogtreecommitdiff
path: root/drivers/md/bcache
diff options
context:
space:
mode:
authorSlava Pestov <sp@daterainc.com>2014-05-23 18:18:35 (GMT)
committerKent Overstreet <kmo@daterainc.com>2014-08-04 22:23:03 (GMT)
commit913dc33fb2720fb5f979011664294137ddd8b13b (patch)
tree2c32d5afad1625a9f39ef0efdc2c1b89be7c8c46 /drivers/md/bcache
parent60ae81eee86dd7a520db8c1e3d702b49fc0418b5 (diff)
downloadlinux-913dc33fb2720fb5f979011664294137ddd8b13b.tar.xz
bcache: fix crash in bcache_btree_node_alloc_fail tracepoint
'b' was NULL. Change-Id: Icac0fd04afa2d23f213d96d51afd53374e6dd0c0
Diffstat (limited to 'drivers/md/bcache')
-rw-r--r--drivers/md/bcache/btree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bcache/btree.c b/drivers/md/bcache/btree.c
index 39c7f5b..f823785 100644
--- a/drivers/md/bcache/btree.c
+++ b/drivers/md/bcache/btree.c
@@ -1096,7 +1096,7 @@ err_free:
err:
mutex_unlock(&c->bucket_lock);
- trace_bcache_btree_node_alloc_fail(b);
+ trace_bcache_btree_node_alloc_fail(c);
return b;
}