1
0
Fork 0
alistair23-linux/fs/sysfs
Greg Kroah-Hartman de96e9fea7 sysfs: convert BUG_ON to WARN_ON
It's rude to crash the system just because the developer did something
wrong, as it prevents them from usually even seeing what went wrong.

So convert the few BUG_ON() calls that have snuck into the sysfs code
over the years to WARN_ON() to make it more "friendly".  All of these
are able to be recovered from, so it makes no sense to crash.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-01-07 08:53:32 +01:00
..
Kconfig kernfs: add CONFIG_KERNFS 2014-02-07 16:08:57 -08:00
Makefile sysfs, kernfs: move inode code to fs/kernfs/inode.c 2013-11-29 17:55:10 -08:00
dir.c sysfs: convert BUG_ON to WARN_ON 2019-01-07 08:53:32 +01:00
file.c sysfs: convert BUG_ON to WARN_ON 2019-01-07 08:53:32 +01:00
group.c sysfs: convert BUG_ON to WARN_ON 2019-01-07 08:53:32 +01:00
mount.c unfuck sysfs_mount() 2018-05-21 14:30:09 -04:00
symlink.c sysfs: convert BUG_ON to WARN_ON 2019-01-07 08:53:32 +01:00
sysfs.h sysfs, kobject: allow creating kobject belonging to arbitrary users 2018-07-20 23:44:35 -07:00