summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_alloc.h
diff options
context:
space:
mode:
authorDavid Chinner <dgc@sgi.com>2007-05-24 15:22:19 +1000
committerTim Shimmin <tes@chook.melbourne.sgi.com>2007-07-14 15:23:40 +1000
commit92dfe8d266eaf35a50607a0e0dcf525e1d367c80 (patch)
treea9149b1bcad2142b14b8b25c06c64a0ae7399f64 /fs/xfs/xfs_alloc.h
parent511105b3d7c2440ee84fc3f90d200569aac88162 (diff)
[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 <dgc@sgi.com> Signed-off-by: Vlad Apostolov <vapo@sgi.com> Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_alloc.h')
0 files changed, 0 insertions, 0 deletions