sysfs: spit a warning to users when they try to create a duplicate sysfs file
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 13 Sep 2007 09:53:13 +0000 (02:53 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 21:51:09 +0000 (14:51 -0700)
commit5c3e8964ce87477a12e3e9edc3742156a3929a74
treefa9f43c11b7eea40d8758a638b8452ae5a1e724f
parentdc8c85871c9728c5fddca6854a191fd41eb9438c
sysfs: spit a warning to users when they try to create a duplicate sysfs file

We want to let people know when we create a duplicate sysfs file, as
they need to fix up their code.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/sysfs/dir.c