From: Lukas Czerner Date: Fri, 18 Apr 2014 14:21:15 +0000 (-0400) Subject: ext4: use truncate_pagecache() in collapse range X-Git-Tag: omap-for-v3.16/pm-signed~66^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=694c793fc1ade0946149c5f8d43f71e0728c4e81;p=pandora-kernel.git ext4: use truncate_pagecache() in collapse range We should be using truncate_pagecache() instead of truncate_pagecache_range() in the collapse range because we're truncating page cache from offset to the end of file. truncate_pagecache() also get rid of the private COWed pages from the range because we're going to shift the end of the file. Signed-off-by: Lukas Czerner Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed