From: Lukas Czerner Date: Fri, 18 Apr 2014 14:41:52 +0000 (-0400) Subject: ext4: use filemap_write_and_wait_range() correctly in collapse range X-Git-Tag: omap-for-v3.16/pm-signed~66^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a66c7c3bea52ba0f7596b8940d74fce75281d16;p=pandora-kernel.git ext4: use filemap_write_and_wait_range() correctly in collapse range 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 Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed