diff options
author | David Chinner <dgc@sgi.com> | 2007-05-24 15:27:03 +1000 |
---|---|---|
committer | Tim Shimmin <tes@chook.melbourne.sgi.com> | 2007-05-29 18:15:17 +1000 |
commit | df3c7244264f1d12562413aa32d56be802486516 (patch) | |
tree | 99570b393dc5890fc1751c56aad3deffb0d1c95b /fs/fcntl.c | |
parent | c420bc9f09a0926b708c3edb27eacba434a4f4ba (diff) | |
download | kernel_samsung_crespo-df3c7244264f1d12562413aa32d56be802486516.zip kernel_samsung_crespo-df3c7244264f1d12562413aa32d56be802486516.tar.gz kernel_samsung_crespo-df3c7244264f1d12562413aa32d56be802486516.tar.bz2 |
[XFS] Write at EOF may not update filesize correctly.
The recent fix for preventing NULL files from being left around does not
update the file size corectly in all cases. The missing case is a write
extending the file that does not need to allocate a block.
In that case we used a read mapping of the extent which forced the use of
the read I/O completion handler instead of the write I/O completion
handle. Hence the file size was not updated on I/O completion.
SGI-PV: 965068
SGI-Modid: xfs-linux-melb:xfs-kern:28657a
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Nathan Scott <nscott@aconex.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/fcntl.c')
0 files changed, 0 insertions, 0 deletions