ACPI: avoid empty file name in sysfs
authorPeter Gruber <nokos@gmx.net>
Tue, 28 Oct 2008 03:59:36 +0000 (23:59 -0400)
committerLen Brown <len.brown@intel.com>
Fri, 7 Nov 2008 03:09:52 +0000 (22:09 -0500)
Since commit bc45b1d39a925b56796bebf8a397a0491489d85c acpi tables are
allowed to have an empty signature and /sys/firmware/acpi/tables uses the
signature as filename.  Applications using naive recursion through /sys
loop forever.  A possible solution would be: (replacing the zero length
filename with the string "NULL")

http://bugzilla.kernel.org/show_bug.cgi?id=11539

Acked-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>

No differences found