ext4: give more helpful error message in ext4_ext_rm_leaf()
authorLukas Czerner <lczerner@redhat.com>
Tue, 20 Mar 2012 03:07:43 +0000 (23:07 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 20 Mar 2012 03:07:43 +0000 (23:07 -0400)
commitdc1841d6cff22b98deef46bfe768a9c678d917c2
tree2d97eb9fd90fcd42bee4f5d7b7d9adb2459983f6
parent7877191c28b1e140795c0c951dde8aad43757378
ext4: give more helpful error message in ext4_ext_rm_leaf()

The error message produced by the ext4_ext_rm_leaf() when we are
removing blocks which accidentally ends up inside the existing extent,
is not very helpful, because we would like to also know which extent did
we collide with.

This commit changes the error message to get us also the information
about the extent we are colliding with.

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