aoe: create and destroy debugfs directory for aoe
authorEd Cashin <ecashin@coraid.com>
Wed, 11 Sep 2013 21:25:39 +0000 (14:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Sep 2013 22:59:22 +0000 (15:59 -0700)
commit190519cd30884215a63ed875ac074dc97a602522
treeb97b3a8171ed01e0a0cb60c3ee4d7745dea87fe4
parent0bd42136f7ae4ea1375da34c32838fb35eee8c59
aoe: create and destroy debugfs directory for aoe

This series adds the debugging information that the coraid.com-distributed
aoe driver exports via sysfs, but instead of sysfs, it uses debugfs.

With these patches applied, even without AoE targets on the network, KEDR
reports new possible memory leaks, but these are from callers outside the
aoe driver that have used aoe_devnode to get the name of the character
devices through the aoe_class->devnode callback, and I believe they're
responsible for freeing that memory.

This patch:

Create and destroy the debugfs directory.

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>
drivers/block/aoe/aoeblk.c