summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2015-06-17 18:40:28 -0700
committerKent Overstreet <kent.overstreet@gmail.com>2016-10-07 12:34:30 -0800
commit66eff9266491dfb77f2fe6209554f11b592a155a (patch)
tree43fdb2e7b9e43ff1d40a1cd583981671041c7c46
parentd81126ca8a9c1925c9a6defa374d71283da29780 (diff)
bcache: use correct uuid in debugfs
-rw-r--r--drivers/md/bcache/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bcache/debug.c b/drivers/md/bcache/debug.c
index c0fb3cb19086..a5ba72731ed6 100644
--- a/drivers/md/bcache/debug.c
+++ b/drivers/md/bcache/debug.c
@@ -475,7 +475,7 @@ void bch_debug_init_cache_set(struct cache_set *c)
if (IS_ERR_OR_NULL(bch_debug))
return;
- snprintf(name, sizeof(name), "%pU", c->sb.set_uuid.b);
+ snprintf(name, sizeof(name), "%pU", c->sb.user_uuid.b);
c->debug = debugfs_create_dir(name, bch_debug);
if (IS_ERR_OR_NULL(c->debug))
return;