Jan Glauber 19cdd08ba1 [S390] qdio: fix broken pointer in case of CONFIG_DEBUG_FS is disabled
If CONFIG_DEBUG_FS is disabled debugfs_create_file returns -ENODEV instead
of zero. Since the return value is stored and used at shutdown to remove
existing entries an OOPS may be triggered.

Add a check of the debugfs_create_file return value and in case of an error
set the entry to NULL so it will be ignored at shutdown.

Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2009-01-09 12:15:07 +01:00
..
2009-01-08 16:29:41 +00:00
2009-01-07 15:34:47 -08:00
2009-01-06 15:59:30 -08:00
2009-01-08 08:31:15 -08:00
2009-01-04 15:31:49 +01:00
2009-01-08 16:29:41 +00:00
2009-01-08 20:10:32 +00:00