android_kernel_xiaomi_sm8350/fs/sysfs
Arjan van de Ven 99fcd77d15 Use WARN() in fs/sysfs
Use WARN() instead of a printk+WARN_ON() pair; this way the message becomes
part of the warning section for better reporting/collection.  Also, with this,
one fo the if() sections collapses entirely into the WARN().

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-07-26 12:00:07 -07:00
..
bin.c
dir.c Use WARN() in fs/sysfs 2008-07-26 12:00:07 -07:00
file.c Use WARN() in fs/sysfs 2008-07-26 12:00:07 -07:00
group.c Use WARN() in fs/sysfs 2008-07-26 12:00:07 -07:00
inode.c sysfs: Disallow truncation of files in sysfs 2008-04-30 16:52:46 -07:00
Makefile
mount.c
symlink.c driver core: Suppress sysfs warnings for device_rename(). 2008-07-21 21:55:01 -07:00
sysfs.h driver core: Suppress sysfs warnings for device_rename(). 2008-07-21 21:55:01 -07:00