diff options
author | Arjan van de Ven <arjan@linux.intel.com> | 2008-07-25 19:45:41 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-26 12:00:08 -0700 |
commit | 267e2a9c71b8e088ac307f9549f71468e86e26c1 (patch) | |
tree | a2fc7be0ee2d712841b4564abf4e63d814642ec3 /include/linux/dnotify.h | |
parent | 99fcd77d15357e8ba51005c25cc750b9c28b2688 (diff) |
Use WARN() in fs/proc/
Use WARN() instead of a printk+WARN_ON() pair; this way the message
becomes part of the warning section for better reporting/collection.
This way, the entire if() {} section can collapse into the WARN() as well.
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Acked-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/dnotify.h')
0 files changed, 0 insertions, 0 deletions