From: Taehee Yoo Date: Tue, 21 Apr 2015 06:59:12 +0000 (+0900) Subject: f2fs: add offset check routine before punch_hole() in f2fs_fallocate() X-Git-Tag: omap-for-v4.3/legacy-v2-signed~156^2~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=587c0a42552a69a58e7ccd363d30fd48d809fdcb;p=pandora-kernel.git f2fs: add offset check routine before punch_hole() in f2fs_fallocate() In the punch_hole(), if offset bigger than inode size, it returns SUCCESS. Then f2fs_fallocate() will update time and dirty mark. In that case, inode has not been modified actually. So I have added offset check routine that prevent to call the punch_hole(). Signed-off-by: Taehee Yoo Signed-off-by: Jaegeuk Kim --- Reading git-diff-tree failed