ext4: remove explicit WARN_ON when ext4_map_blocks() fails
authorLukas Czerner <lczerner@redhat.com>
Tue, 29 Jan 2013 02:21:12 +0000 (21:21 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 29 Jan 2013 02:21:12 +0000 (21:21 -0500)
commitb06acd38a44127b382fa53e49878f7a2b70af6f2
tree03fc90c10ddac5d83890286b52b66ef623a87a42
parentcfa7275482414fa87c9e51dd7b9d4d5d3f7a7fed
ext4: remove explicit WARN_ON when ext4_map_blocks() fails

In two places we call WARN_ON() before we print out the debug message,
however we agreed that the WARN_ON() is unnecessary at those places so
remove them.

Also use ext4_warning() instead of ext4_msg() and printk().

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/extents.c