Use WARN() in block/
authorArjan van de Ven <arjan@linux.intel.com>
Sat, 26 Jul 2008 02:45:38 +0000 (19:45 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 26 Jul 2008 19:00:07 +0000 (12:00 -0700)
commit12e0036818eed243c8ed6583ebf98261a2554e12
tree2f60ad7d1c869a995faa5b73150b409705d0e8b2
parent261c40c1191ad8d7a2e49fa2bb5f6a84e3d44b10
Use WARN() in block/

Use WARN() instead of a printk+WARN_ON() pair; this way the message
becomes part of the warning section for better reporting/collection.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
block/as-iosched.c