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
..
2008-10-10 21:33:50 +02:00
2008-07-14 10:02:11 +02:00
2009-01-08 08:31:15 -08:00
2008-12-25 13:39:10 +01:00
2008-07-14 10:02:12 +02:00
2008-10-10 21:33:53 +02:00
2008-10-10 21:33:53 +02:00
2008-07-17 17:22:10 +02:00
2009-01-08 08:31:15 -08:00