]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit61242725a9ed0e2493645c7a1a8c90dbba22e84c
treeb97b3a8171ed01e0a0cb60c3ee4d7745dea87fe4
parente424f2e465ec5275285e0558806d6f989d85d04e
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