diff options
author | Christoph Hellwig <hch@infradead.org> | 2010-06-24 05:45:34 +0400 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-07-26 22:16:42 +0400 |
commit | 64c86149410bc62d9ac27a0594b3402a2aca03d8 (patch) | |
tree | 58ba57bd091ad80c1c7592bdd7539b10c3e3f6b8 /fs/xfs/linux-2.6/xfs_sync.h | |
parent | f2bde9b89b4d67c9bc3b963cb996f449ddcd27a4 (diff) | |
download | linux-64c86149410bc62d9ac27a0594b3402a2aca03d8.tar.xz |
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>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_sync.h')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_sync.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/xfs/linux-2.6/xfs_sync.h b/fs/xfs/linux-2.6/xfs_sync.h index e28139aaa4aa..fe78726196f8 100644 --- a/fs/xfs/linux-2.6/xfs_sync.h +++ b/fs/xfs/linux-2.6/xfs_sync.h @@ -35,9 +35,6 @@ typedef struct xfs_sync_work { int xfs_syncd_init(struct xfs_mount *mp); void xfs_syncd_stop(struct xfs_mount *mp); -int xfs_sync_attr(struct xfs_mount *mp, int flags); -int xfs_sync_data(struct xfs_mount *mp, int flags); - int xfs_quiesce_data(struct xfs_mount *mp); void xfs_quiesce_attr(struct xfs_mount *mp); |