diff options
Diffstat (limited to 'fs/xfs/xfs_mount.h')
-rw-r--r-- | fs/xfs/xfs_mount.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/fs/xfs/xfs_mount.h b/fs/xfs/xfs_mount.h index b0447c86e7e2..22ccf69d4d3c 100644 --- a/fs/xfs/xfs_mount.h +++ b/fs/xfs/xfs_mount.h | |||
@@ -168,6 +168,7 @@ typedef struct xfs_mount { | |||
168 | /* low free space thresholds */ | 168 | /* low free space thresholds */ |
169 | struct xfs_kobj m_kobj; | 169 | struct xfs_kobj m_kobj; |
170 | 170 | ||
171 | struct workqueue_struct *m_buf_workqueue; | ||
171 | struct workqueue_struct *m_data_workqueue; | 172 | struct workqueue_struct *m_data_workqueue; |
172 | struct workqueue_struct *m_unwritten_workqueue; | 173 | struct workqueue_struct *m_unwritten_workqueue; |
173 | struct workqueue_struct *m_cil_workqueue; | 174 | struct workqueue_struct *m_cil_workqueue; |
@@ -320,10 +321,7 @@ typedef struct xfs_mod_sb { | |||
320 | 321 | ||
321 | /* | 322 | /* |
322 | * Per-ag incore structure, copies of information in agf and agi, to improve the | 323 | * Per-ag incore structure, copies of information in agf and agi, to improve the |
323 | * performance of allocation group selection. This is defined for the kernel | 324 | * performance of allocation group selection. |
324 | * only, and hence is defined here instead of in xfs_ag.h. You need the struct | ||
325 | * xfs_mount to be defined to look up a xfs_perag anyway (via mp->m_perag_tree), | ||
326 | * so this doesn't introduce any strange header file dependencies. | ||
327 | */ | 325 | */ |
328 | typedef struct xfs_perag { | 326 | typedef struct xfs_perag { |
329 | struct xfs_mount *pag_mount; /* owner filesystem */ | 327 | struct xfs_mount *pag_mount; /* owner filesystem */ |
@@ -384,7 +382,7 @@ extern int xfs_mount_log_sb(xfs_mount_t *, __int64_t); | |||
384 | extern struct xfs_buf *xfs_getsb(xfs_mount_t *, int); | 382 | extern struct xfs_buf *xfs_getsb(xfs_mount_t *, int); |
385 | extern int xfs_readsb(xfs_mount_t *, int); | 383 | extern int xfs_readsb(xfs_mount_t *, int); |
386 | extern void xfs_freesb(xfs_mount_t *); | 384 | extern void xfs_freesb(xfs_mount_t *); |
387 | extern int xfs_fs_writable(xfs_mount_t *); | 385 | extern bool xfs_fs_writable(struct xfs_mount *mp, int level); |
388 | extern int xfs_sb_validate_fsb_count(struct xfs_sb *, __uint64_t); | 386 | extern int xfs_sb_validate_fsb_count(struct xfs_sb *, __uint64_t); |
389 | 387 | ||
390 | extern int xfs_dev_is_read_only(struct xfs_mount *, char *); | 388 | extern int xfs_dev_is_read_only(struct xfs_mount *, char *); |