xfs: Convert sync_page_range() to simple filemap_write_and_wait_range()
authorJan Kara <jack@suse.cz>
Tue, 18 Aug 2009 16:32:55 +0000 (18:32 +0200)
committerJan Kara <jack@suse.cz>
Mon, 14 Sep 2009 15:08:17 +0000 (17:08 +0200)
commitaf0f4414f343429971d33b0dd8dccc85c1f3dcd2
tree1b053812591d19f618240672eb74fd74912c29c1
parentd23c937b0f740888765676f6f82f509dbbb2bbad
xfs: Convert sync_page_range() to simple filemap_write_and_wait_range()

Christoph Hellwig says that it is enough for XFS to call
filemap_write_and_wait_range() instead of sync_page_range() because we do
all the metadata syncing when forcing the log.

CC: Felix Blyakher <felixb@sgi.com>
CC: xfs@oss.sgi.com
CC: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/xfs/linux-2.6/xfs_lrw.c