diff options
author | Christoph Hellwig <hch@infradead.org> | 2008-04-22 03:34:37 -0400 |
---|---|---|
committer | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-04-29 01:57:11 -0400 |
commit | d4d90b577ee5af5c1b29bd693aca026a77a1a2f1 (patch) | |
tree | 24f050ac11d3bad60f7910c63138c37c3214ca1f /fs/xfs/xfs_mount.h | |
parent | e8b0ebaa115ac46b21622b103c29927f5805aeaa (diff) |
[XFS] Add xfs_icsb_sync_counters_locked for when m_sb_lock already held
Add a new xfs_icsb_sync_counters_locked for the case where m_sb_lock
is already taken and add a flags argument to xfs_icsb_sync_counters so
that xfs_icsb_sync_counters_flags is not needed.
SGI-PV: 976035
SGI-Modid: xfs-linux-melb:xfs-kern:30917a
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_mount.h')
-rw-r--r-- | fs/xfs/xfs_mount.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/xfs/xfs_mount.h b/fs/xfs/xfs_mount.h index 1ed575110ff0..06ecaeb338a5 100644 --- a/fs/xfs/xfs_mount.h +++ b/fs/xfs/xfs_mount.h | |||
@@ -211,12 +211,13 @@ typedef struct xfs_icsb_cnts { | |||
211 | 211 | ||
212 | extern int xfs_icsb_init_counters(struct xfs_mount *); | 212 | extern int xfs_icsb_init_counters(struct xfs_mount *); |
213 | extern void xfs_icsb_reinit_counters(struct xfs_mount *); | 213 | extern void xfs_icsb_reinit_counters(struct xfs_mount *); |
214 | extern void xfs_icsb_sync_counters_flags(struct xfs_mount *, int); | 214 | extern void xfs_icsb_sync_counters(struct xfs_mount *, int); |
215 | extern void xfs_icsb_sync_counters_locked(struct xfs_mount *, int); | ||
215 | 216 | ||
216 | #else | 217 | #else |
217 | #define xfs_icsb_init_counters(mp) (0) | 218 | #define xfs_icsb_init_counters(mp) (0) |
218 | #define xfs_icsb_reinit_counters(mp) do { } while (0) | 219 | #define xfs_icsb_reinit_counters(mp) do { } while (0) |
219 | #define xfs_icsb_sync_counters_flags(mp, flags) do { } while (0) | 220 | #define xfs_icsb_sync_counters(mp, flags) do { } while (0) |
220 | #endif | 221 | #endif |
221 | 222 | ||
222 | typedef struct xfs_ail { | 223 | typedef struct xfs_ail { |