]> 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)
commitdc8a5dd698fd586569cce771948a18336411310c
treeb97b3a8171ed01e0a0cb60c3ee4d7745dea87fe4
parente0457755baeac7a3c848edf19d1e83173f3b5c65
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