ext4: make online defrag error reporting consistent
authorEric Whitney <enwlinux@gmail.com>
Mon, 22 Jun 2015 01:38:03 +0000 (21:38 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 22 Jun 2015 01:38:03 +0000 (21:38 -0400)
commit04e22412f420ade46dbf792a10e7f0d26ae55359
tree57d9c884fba210c7c71e48580ce58bbe3e052b31
parentc27e43a10c9755231f8a1c618efc1ac299dd5007
ext4: make online defrag error reporting consistent

Make the error reporting behavior resulting from the unsupported use
of online defrag on files with data journaling enabled consistent with
that implemented for bigalloc file systems. Difference found with
ext4/308.

Signed-off-by: Eric Whitney <enwlinux@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/ext4/move_extent.c