xfs: stop calling filemap_fdatawait inside ->fsync
authorChristoph Hellwig <hch@infradead.org>
Sat, 26 Sep 2009 19:55:04 +0000 (19:55 +0000)
committerAlex Elder <aelder@sgi.com>
Thu, 8 Oct 2009 17:02:48 +0000 (12:02 -0500)
commitd0800703febc04827b8fa91921aa4e254d01e8d1
tree814c8d76966873d5cc683ba9de14ef2226897f48
parent8e69ce147127a0235e8d1f2b75ea214be78c61b3
xfs: stop calling filemap_fdatawait inside ->fsync

Now that the VFS actually waits for the data I/O to complete before
calling into ->fsync we can stop doing it ourselves.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Elder <aelder@sgi.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/linux-2.6/xfs_file.c