Re: [PATCH 1/5] ext4: Use filemap_write_and_wait_range() correctly in collapse range

Theodore Ts'o
2014-04-18T14:42:44Z

On Wed, Apr 16, 2014 at 08:32:58PM +0200, Lukas Czerner wrote:
> Currently we're passing -1 as lend argumnet for
> filemap_write_and_wait_range() which is wrong since lend is signed type
> so it would cause some confusion and we might not write_and_wait for the
> entire range we're expecting to write.
>
> Fix it by using LLONG_MAX instead.
>
> Signed-off-by: Lukas Czerner <lczerner@redhat.com>

Thanks, applied.

- Ted