ext4: fix ZERO_RANGE test failure in data journalling
authorNamjae Jeon <namjae.jeon@samsung.com>
Tue, 27 May 2014 16:48:55 +0000 (12:48 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 27 May 2014 16:48:55 +0000 (12:48 -0400)
commite1ee60fd89670da61b0a4bda59f8ffb2b8abea63
treedca4e245a9c924ec2457581ea04cde8b43cbc56b
parentd745a8c20c1f864c10ca78d0f89219633861b7e9
ext4: fix ZERO_RANGE test failure in data journalling

xfstests generic/091 is failing when mounting ext4 with data=journal.
I think that this regression is same problem that occurred prior to collapse
range issue. So ZERO RANGE also need to call ext4_force_commit as
collapse range.

Cc: stable@vger.kernel.org
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Ashish Sangwan <a.sangwan@samsung.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/extents.c