diff options
Diffstat (limited to 'fs/xfs/xfs_mount.h')
| -rw-r--r-- | fs/xfs/xfs_mount.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/fs/xfs/xfs_mount.h b/fs/xfs/xfs_mount.h index 622da2179a5..5861b498074 100644 --- a/fs/xfs/xfs_mount.h +++ b/fs/xfs/xfs_mount.h | |||
| @@ -53,7 +53,6 @@ typedef struct xfs_trans_reservations { | |||
| 53 | 53 | ||
| 54 | #include "xfs_sync.h" | 54 | #include "xfs_sync.h" |
| 55 | 55 | ||
| 56 | struct cred; | ||
| 57 | struct log; | 56 | struct log; |
| 58 | struct xfs_mount_args; | 57 | struct xfs_mount_args; |
| 59 | struct xfs_inode; | 58 | struct xfs_inode; |
| @@ -91,6 +90,8 @@ extern void xfs_icsb_reinit_counters(struct xfs_mount *); | |||
| 91 | extern void xfs_icsb_destroy_counters(struct xfs_mount *); | 90 | extern void xfs_icsb_destroy_counters(struct xfs_mount *); |
| 92 | extern void xfs_icsb_sync_counters(struct xfs_mount *, int); | 91 | extern void xfs_icsb_sync_counters(struct xfs_mount *, int); |
| 93 | extern void xfs_icsb_sync_counters_locked(struct xfs_mount *, int); | 92 | extern void xfs_icsb_sync_counters_locked(struct xfs_mount *, int); |
| 93 | extern int xfs_icsb_modify_counters(struct xfs_mount *, xfs_sb_field_t, | ||
| 94 | int64_t, int); | ||
| 94 | 95 | ||
| 95 | #else | 96 | #else |
| 96 | #define xfs_icsb_init_counters(mp) (0) | 97 | #define xfs_icsb_init_counters(mp) (0) |
| @@ -98,6 +99,8 @@ extern void xfs_icsb_sync_counters_locked(struct xfs_mount *, int); | |||
| 98 | #define xfs_icsb_reinit_counters(mp) do { } while (0) | 99 | #define xfs_icsb_reinit_counters(mp) do { } while (0) |
| 99 | #define xfs_icsb_sync_counters(mp, flags) do { } while (0) | 100 | #define xfs_icsb_sync_counters(mp, flags) do { } while (0) |
| 100 | #define xfs_icsb_sync_counters_locked(mp, flags) do { } while (0) | 101 | #define xfs_icsb_sync_counters_locked(mp, flags) do { } while (0) |
| 102 | #define xfs_icsb_modify_counters(mp, field, delta, rsvd) \ | ||
| 103 | xfs_mod_incore_sb(mp, field, delta, rsvd) | ||
| 101 | #endif | 104 | #endif |
| 102 | 105 | ||
| 103 | typedef struct xfs_mount { | 106 | typedef struct xfs_mount { |
| @@ -232,8 +235,6 @@ typedef struct xfs_mount { | |||
| 232 | #define XFS_MOUNT_DIRSYNC (1ULL << 21) /* synchronous directory ops */ | 235 | #define XFS_MOUNT_DIRSYNC (1ULL << 21) /* synchronous directory ops */ |
| 233 | #define XFS_MOUNT_COMPAT_IOSIZE (1ULL << 22) /* don't report large preferred | 236 | #define XFS_MOUNT_COMPAT_IOSIZE (1ULL << 22) /* don't report large preferred |
| 234 | * I/O size in stat() */ | 237 | * I/O size in stat() */ |
| 235 | #define XFS_MOUNT_NO_PERCPU_SB (1ULL << 23) /* don't use per-cpu superblock | ||
| 236 | counters */ | ||
| 237 | #define XFS_MOUNT_FILESTREAMS (1ULL << 24) /* enable the filestreams | 238 | #define XFS_MOUNT_FILESTREAMS (1ULL << 24) /* enable the filestreams |
| 238 | allocator */ | 239 | allocator */ |
| 239 | #define XFS_MOUNT_NOATTR2 (1ULL << 25) /* disable use of attr2 format */ | 240 | #define XFS_MOUNT_NOATTR2 (1ULL << 25) /* disable use of attr2 format */ |
| @@ -327,6 +328,8 @@ xfs_daddr_to_agbno(struct xfs_mount *mp, xfs_daddr_t d) | |||
| 327 | * perag get/put wrappers for ref counting | 328 | * perag get/put wrappers for ref counting |
| 328 | */ | 329 | */ |
| 329 | struct xfs_perag *xfs_perag_get(struct xfs_mount *mp, xfs_agnumber_t agno); | 330 | struct xfs_perag *xfs_perag_get(struct xfs_mount *mp, xfs_agnumber_t agno); |
| 331 | struct xfs_perag *xfs_perag_get_tag(struct xfs_mount *mp, xfs_agnumber_t agno, | ||
| 332 | int tag); | ||
| 330 | void xfs_perag_put(struct xfs_perag *pag); | 333 | void xfs_perag_put(struct xfs_perag *pag); |
| 331 | 334 | ||
| 332 | /* | 335 | /* |
