]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
Staging: batman-adv: Ignore debugfs on kernels without debugfs support
authorSven Eckelmann <sven.eckelmann@gmx.de>
Mon, 21 Jun 2010 23:25:48 +0000 (01:25 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 22 Jun 2010 21:05:05 +0000 (14:05 -0700)
commit8bfe3638747b2c2f842edf9eb2a407a22a9d537d
tree1f1419b54c7c832d8f86395edc2f856649b8b693
parent42fa1b92ab3261ef60ef4f60ff6eff2a0585348d
Staging: batman-adv: Ignore debugfs on kernels without debugfs support

All code for debugfs is ignored when the creation of the batman-adv root
directory in debugfs fails. It must also be ignored when the
debugfs_create_dir tells us that debugfs is not implemented to prevent
possible crashes in the future.

Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/batman-adv/bat_debugfs.c