From: Lachlan McIlroy Date: Sat, 10 Feb 2007 07:36:47 +0000 (+1100) Subject: [XFS] Fix callers of xfs_iozero() to zero the correct range. X-Git-Tag: v2.6.21-rc1~274^2~227^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=681601613759accffd8e8ddbc6f942eba7ecbfe5;p=pandora-kernel.git [XFS] Fix callers of xfs_iozero() to zero the correct range. The problem is the two callers of xfs_iozero() are rounding out the range to be zeroed to the end of a fsb and in some cases this extends past the new eof. The call to commit_write() in xfs_iozero() will cause the Linux inode's file size to be set too high. SGI-PV: 960788 SGI-Modid: xfs-linux-melb:xfs-kern:28013a Signed-off-by: Lachlan McIlroy Signed-off-by: David Chinner Signed-off-by: Tim Shimmin --- Reading git-diff-tree failed