From: David Chinner Date: Thu, 24 May 2007 05:22:19 +0000 (+1000) Subject: [XFS] Make hole punching at EOF atomic. X-Git-Tag: v2.6.23-rc1~1056^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92dfe8d266eaf35a50607a0e0dcf525e1d367c80;p=pandora-kernel.git [XFS] Make hole punching at EOF atomic. If hole punching at EOF is done as two steps (i.e. truncate then extend) the file is in a transient state between the two steps where an application can see the incorrect file size. Punching a hole to EOF needs to be treated in teh same way as all other hole punching cases so that the file size is never seen to change. SGI-PV: 962012 SGI-Modid: xfs-linux-melb:xfs-kern:28641a Signed-off-by: David Chinner Signed-off-by: Vlad Apostolov Signed-off-by: Tim Shimmin --- Reading git-diff-tree failed