aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/aoe/aoedev.c
diff options
context:
space:
mode:
authorEd Cashin <ecashin@coraid.com>2013-09-11 17:25:40 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-09-11 18:59:23 -0400
commite8866cf2b90f3a29859d2113c0fd23daf189c282 (patch)
treedf02943b3755d6a284c6fd215a5c709f48d0be1d /drivers/block/aoe/aoedev.c
parent190519cd30884215a63ed875ac074dc97a602522 (diff)
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)
278 278
279 del_timer_sync(&d->timer); 279 del_timer_sync(&d->timer);
280 if (d->gd) { 280 if (d->gd) {
281 aoedisk_rm_debugfs(d);
281 aoedisk_rm_sysfs(d); 282 aoedisk_rm_sysfs(d);
282 del_gendisk(d->gd); 283 del_gendisk(d->gd);
283 put_disk(d->gd); 284 put_disk(d->gd);