]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
xfs: wait for I/O completion when writing out pages in xfs_setattr_size
authorChristoph Hellwig <hch@infradead.org>
Tue, 23 Aug 2011 08:28:12 +0000 (08:28 +0000)
committerAlex Elder <aelder@sgi.com>
Thu, 1 Sep 2011 15:50:24 +0000 (10:50 -0500)
commit1e60cfa02430a9d1f0a051ca4bf521e71f562a33
treecbcd0b2edb763188eb705ffa3231d8791e3825f9
parent6790d7b01fc5fb77952c1a96a12d594aab50cebc
xfs: wait for I/O completion when writing out pages in xfs_setattr_size

The current code relies on the xfs_ioend_wait call later on to make sure
all I/O actually has completed.  The xfs_ioend_wait call will go away soon,
so prepare for that by using the waiting filemap function.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/xfs_iops.c