xfs: remove explicit xfs_sync_data/xfs_sync_attr calls on umount
authorChristoph Hellwig <hch@infradead.org>
Thu, 24 Jun 2010 01:45:34 +0000 (11:45 +1000)
committerAlex Elder <aelder@sgi.com>
Mon, 26 Jul 2010 18:16:42 +0000 (13:16 -0500)
commit64c86149410bc62d9ac27a0594b3402a2aca03d8
tree58ba57bd091ad80c1c7592bdd7539b10c3e3f6b8
parentf2bde9b89b4d67c9bc3b963cb996f449ddcd27a4
xfs: remove explicit xfs_sync_data/xfs_sync_attr calls on umount

On the final put of a superblock the VFS already calls sync_filesystem
for us to write out all data and wait for it.  No need to start another
asynchronous writeback inside ->put_super.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/linux-2.6/xfs_super.c
fs/xfs/linux-2.6/xfs_sync.c
fs/xfs/linux-2.6/xfs_sync.h