]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc394792ba0f280d4c72f045d4dc6e7107348868a
tree03fc90c10ddac5d83890286b52b66ef623a87a42
parentc148f4e9da22618cf76328af4f70fdfb08b21bac
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