From: Lukas Czerner Date: Fri, 18 Apr 2014 14:48:25 +0000 (-0400) Subject: ext4: no need to truncate pagecache twice in collapse range X-Git-Tag: omap-for-v3.16/pm-signed~66^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9337d5d31ab798f0c74150506371551a9195251a;p=pandora-kernel.git ext4: no need to truncate pagecache twice in collapse range We're already calling truncate_pagecache() before we attempt to do any actual job so there is not need to truncate pagecache once more using truncate_setsize() after we're finished. Remove truncate_setsize() and replace it just with i_size_write() note that we're holding appropriate locks. Signed-off-by: Lukas Czerner Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed