]> err.no Git - linux-2.6/commit
[XFS] Fix xfs_splice_write() so appended data gets to disk.
authorDavid Chinner <dgc@sgi.com>
Thu, 7 Sep 2006 04:27:15 +0000 (14:27 +1000)
committerDavid Chatterton <chatz@sgi.com>
Thu, 7 Sep 2006 04:27:15 +0000 (14:27 +1000)
commit0a8d17d090a4939643a52194b7d4a4001b9b2d93
tree6ebf7aeb35f528be9171c75fd4c0152894f13dda
parent721259bce2851893155c6cb88a3f8ecb106b348c
[XFS] Fix xfs_splice_write() so appended data gets to disk.

xfs_splice_write() failed to update the on disk inode size when extending
the so when the file was closed the range extended by splice was truncated
off. Hence any region of a file written to by splice would end up as a
hole full of zeros.

SGI-PV: 955939
SGI-Modid: xfs-linux-melb:xfs-kern:26920a

Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: David Chatterton <chatz@sgi.com>
fs/xfs/linux-2.6/xfs_lrw.c