aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_mount.h
diff options
context:
space:
mode:
authorDavid Chinner <david@fromorbit.com>2008-10-30 02:15:12 -0400
committerLachlan McIlroy <lachlan@sgi.com>2008-10-30 02:15:12 -0400
commit2030b5aba8a4bcaca5aca85968514fa58207d3bd (patch)
treee01122f234efd0acad9c3217ffae05f023f8b247 /fs/xfs/xfs_mount.h
parentbc60a99323b3ec628273b5fa998285c87d464ca6 (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/xfs_mount.h')
-rw-r--r--fs/xfs/xfs_mount.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/xfs/xfs_mount.h b/fs/xfs/xfs_mount.h
index 0ba052691126..4e62802b6abc 100644
--- a/fs/xfs/xfs_mount.h
+++ b/fs/xfs/xfs_mount.h
@@ -523,8 +523,6 @@ extern struct xfs_buf *xfs_getsb(xfs_mount_t *, int);
523extern int xfs_readsb(xfs_mount_t *, int); 523extern int xfs_readsb(xfs_mount_t *, int);
524extern void xfs_freesb(xfs_mount_t *); 524extern void xfs_freesb(xfs_mount_t *);
525extern int xfs_fs_writable(xfs_mount_t *); 525extern int xfs_fs_writable(xfs_mount_t *);
526extern int xfs_syncsub(xfs_mount_t *, int, int *);
527extern int xfs_sync_inodes(xfs_mount_t *, int, int *);
528extern int xfs_sb_validate_fsb_count(struct xfs_sb *, __uint64_t); 526extern int xfs_sb_validate_fsb_count(struct xfs_sb *, __uint64_t);
529 527
530extern int xfs_dmops_get(struct xfs_mount *, struct xfs_mount_args *); 528extern int xfs_dmops_get(struct xfs_mount *, struct xfs_mount_args *);