diff options
| author | Arjan van de Ven <[email protected]> | 2008-07-26 02:45:41 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-07-26 19:00:07 +0000 |
| commit | 99fcd77d15357e8ba51005c25cc750b9c28b2688 (patch) | |
| tree | 403293819dc7bcd854c50d8c486a1fdbbf9711a2 /fs/proc/array.c | |
| parent | Use WARN() in fs/ (diff) | |
| download | kernel-99fcd77d15357e8ba51005c25cc750b9c28b2688.tar.gz kernel-99fcd77d15357e8ba51005c25cc750b9c28b2688.zip | |
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
