]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ext4: fix warning inside ext4_convert_unwritten_extents_endio
authorRakesh Pandit <rakesh@tuxera.com>
Fri, 23 Aug 2019 02:53:46 +0000 (22:53 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 5 Oct 2019 11:14:16 +0000 (13:14 +0200)
commit7c7aff67e841855df4bd9457ec2720d4b9345e5f
tree40dc5f0f44e89433520cdcbbfd21b174f9b8cb76
parent026f900e102aa63ab944b6b85d23c5b800a2388c
ext4: fix warning inside ext4_convert_unwritten_extents_endio

commit e3d550c2c4f2f3dba469bc3c4b83d9332b4e99e1 upstream.

Really enable warning when CONFIG_EXT4_DEBUG is set and fix missing
first argument.  This was introduced in commit ff95ec22cd7f ("ext4:
add warning to ext4_convert_unwritten_extents_endio") and splitting
extents inside endio would trigger it.

Fixes: ff95ec22cd7f ("ext4: add warning to ext4_convert_unwritten_extents_endio")
Signed-off-by: Rakesh Pandit <rakesh@tuxera.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ext4/extents.c