diff options
author | David Chinner <dgc@sgi.com> | 2007-05-24 09:22:19 +0400 |
---|---|---|
committer | Tim Shimmin <tes@chook.melbourne.sgi.com> | 2007-07-14 09:23:40 +0400 |
commit | 92dfe8d266eaf35a50607a0e0dcf525e1d367c80 (patch) | |
tree | a9149b1bcad2142b14b8b25c06c64a0ae7399f64 /fs/eventfd.c | |
parent | 511105b3d7c2440ee84fc3f90d200569aac88162 (diff) | |
download | linux-92dfe8d266eaf35a50607a0e0dcf525e1d367c80.tar.xz |
[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/eventfd.c')
0 files changed, 0 insertions, 0 deletions