summaryrefslogtreecommitdiffstats
path: root/drivers/block/aoe/aoedev.c
diff options
context:
space:
mode:
authorEd Cashin <ecashin@coraid.com>2013-09-11 14:25:40 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-09-11 15:59:23 -0700
commite8866cf2b90f3a29859d2113c0fd23daf189c282 (patch)
treedf02943b3755d6a284c6fd215a5c709f48d0be1d /drivers/block/aoe/aoedev.c
parent190519cd30884215a63ed875ac074dc97a602522 (diff)
downloadlinux-e8866cf2b90f3a29859d2113c0fd23daf189c282.tar.gz
linux-e8866cf2b90f3a29859d2113c0fd23daf189c282.tar.bz2
linux-e8866cf2b90f3a29859d2113c0fd23daf189c282.zip
aoe: add AoE-target files to debugfs
Signed-off-by: Ed Cashin <ecashin@coraid.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/block/aoe/aoedev.c')
-rw-r--r--drivers/block/aoe/aoedev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/aoe/aoedev.c b/drivers/block/aoe/aoedev.c
index 784c92e038d1..c9047675dfc9 100644
--- a/drivers/block/aoe/aoedev.c
+++ b/drivers/block/aoe/aoedev.c
@@ -278,6 +278,7 @@ freedev(struct aoedev *d)
del_timer_sync(&d->timer);
if (d->gd) {
+ aoedisk_rm_debugfs(d);
aoedisk_rm_sysfs(d);
del_gendisk(d->gd);
put_disk(d->gd);