aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_mount.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_mount.h')
-rw-r--r--fs/xfs/xfs_mount.h8
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 */
328typedef struct xfs_perag { 326typedef 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);
384extern struct xfs_buf *xfs_getsb(xfs_mount_t *, int); 382extern struct xfs_buf *xfs_getsb(xfs_mount_t *, int);
385extern int xfs_readsb(xfs_mount_t *, int); 383extern int xfs_readsb(xfs_mount_t *, int);
386extern void xfs_freesb(xfs_mount_t *); 384extern void xfs_freesb(xfs_mount_t *);
387extern int xfs_fs_writable(xfs_mount_t *); 385extern bool xfs_fs_writable(struct xfs_mount *mp, int level);
388extern int xfs_sb_validate_fsb_count(struct xfs_sb *, __uint64_t); 386extern int xfs_sb_validate_fsb_count(struct xfs_sb *, __uint64_t);
389 387
390extern int xfs_dev_is_read_only(struct xfs_mount *, char *); 388extern int xfs_dev_is_read_only(struct xfs_mount *, char *);