OpenCloudOS-Kernel/drivers/s390
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
..
block [S390] dasd: add device attribute to disable blocking on lost paths 2009-01-09 12:15:05 +01:00
char [S390] tape block: fix dependencies 2009-01-09 12:15:04 +01:00
cio [S390] qdio: fix broken pointer in case of CONFIG_DEBUG_FS is disabled 2009-01-09 12:15:07 +01:00
crypto s390: remove s390_root_dev_*() 2009-01-06 10:44:34 -08:00
kvm s390: remove s390_root_dev_*() 2009-01-06 10:44:34 -08:00
net Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 2009-01-08 11:05:59 -08:00
scsi [SCSI] zfcp: Remove unnecessary warning message 2008-12-29 11:38:29 -06:00
Makefile s390: remove s390_root_dev_*() 2009-01-06 10:44:34 -08:00
ebcdic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
s390mach.c [PATCH] improve idle cputime accounting 2008-12-31 15:11:48 +01:00
s390mach.h [S390] stp support. 2008-07-14 10:02:09 +02:00
sysinfo.c [S390] service level interface. 2008-12-25 13:39:00 +01:00