diff options
author | David Chinner <david@fromorbit.com> | 2008-10-30 02:15:12 -0400 |
---|---|---|
committer | Lachlan McIlroy <lachlan@sgi.com> | 2008-10-30 02:15:12 -0400 |
commit | 2030b5aba8a4bcaca5aca85968514fa58207d3bd (patch) | |
tree | e01122f234efd0acad9c3217ffae05f023f8b247 /fs/xfs/linux-2.6/xfs_sync.h | |
parent | bc60a99323b3ec628273b5fa998285c87d464ca6 (diff) |
[XFS] use xfs_sync_inodes rather than xfs_syncsub
Kill the unused arg in xfs_syncsub() and xfs_sync_inodes(). For callers of
xfs_syncsub() that only want to flush inodes, replace xfs_syncsub() with
direct calls to xfs_sync_inodes() as that is all that is being done with
the specific flags being passed in.
SGI-PV: 988140
SGI-Modid: xfs-linux-melb:xfs-kern:32305a
Signed-off-by: David Chinner <david@fromorbit.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_sync.h')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_sync.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_sync.h b/fs/xfs/linux-2.6/xfs_sync.h index 3746d153ec8e..295486199406 100644 --- a/fs/xfs/linux-2.6/xfs_sync.h +++ b/fs/xfs/linux-2.6/xfs_sync.h | |||
@@ -55,7 +55,7 @@ int xfs_syncd_init(struct xfs_mount *mp); | |||
55 | void xfs_syncd_stop(struct xfs_mount *mp); | 55 | void xfs_syncd_stop(struct xfs_mount *mp); |
56 | 56 | ||
57 | int xfs_sync(struct xfs_mount *mp, int flags); | 57 | int xfs_sync(struct xfs_mount *mp, int flags); |
58 | int xfs_syncsub(struct xfs_mount *mp, int flags, int *bypassed); | 58 | int xfs_sync_inodes(struct xfs_mount *mp, int flags); |
59 | 59 | ||
60 | void xfs_flush_inode(struct xfs_inode *ip); | 60 | void xfs_flush_inode(struct xfs_inode *ip); |
61 | void xfs_flush_device(struct xfs_inode *ip); | 61 | void xfs_flush_device(struct xfs_inode *ip); |