diff options
Diffstat (limited to 'fs/xfs/xfs_log_priv.h')
-rw-r--r-- | fs/xfs/xfs_log_priv.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/fs/xfs/xfs_log_priv.h b/fs/xfs/xfs_log_priv.h index f80cff26fda9..9bc403a9e54f 100644 --- a/fs/xfs/xfs_log_priv.h +++ b/fs/xfs/xfs_log_priv.h | |||
@@ -22,6 +22,7 @@ struct xfs_buf; | |||
22 | struct xlog; | 22 | struct xlog; |
23 | struct xlog_ticket; | 23 | struct xlog_ticket; |
24 | struct xfs_mount; | 24 | struct xfs_mount; |
25 | struct xfs_log_callback; | ||
25 | 26 | ||
26 | /* | 27 | /* |
27 | * Flags for log structure | 28 | * Flags for log structure |
@@ -227,8 +228,8 @@ typedef struct xlog_in_core { | |||
227 | 228 | ||
228 | /* Callback structures need their own cacheline */ | 229 | /* Callback structures need their own cacheline */ |
229 | spinlock_t ic_callback_lock ____cacheline_aligned_in_smp; | 230 | spinlock_t ic_callback_lock ____cacheline_aligned_in_smp; |
230 | xfs_log_callback_t *ic_callback; | 231 | struct xfs_log_callback *ic_callback; |
231 | xfs_log_callback_t **ic_callback_tail; | 232 | struct xfs_log_callback **ic_callback_tail; |
232 | 233 | ||
233 | /* reference counts need their own cacheline */ | 234 | /* reference counts need their own cacheline */ |
234 | atomic_t ic_refcnt ____cacheline_aligned_in_smp; | 235 | atomic_t ic_refcnt ____cacheline_aligned_in_smp; |
@@ -254,7 +255,7 @@ struct xfs_cil_ctx { | |||
254 | int space_used; /* aggregate size of regions */ | 255 | int space_used; /* aggregate size of regions */ |
255 | struct list_head busy_extents; /* busy extents in chkpt */ | 256 | struct list_head busy_extents; /* busy extents in chkpt */ |
256 | struct xfs_log_vec *lv_chain; /* logvecs being pushed */ | 257 | struct xfs_log_vec *lv_chain; /* logvecs being pushed */ |
257 | xfs_log_callback_t log_cb; /* completion callback hook. */ | 258 | struct xfs_log_callback log_cb; /* completion callback hook. */ |
258 | struct list_head committing; /* ctx committing list */ | 259 | struct list_head committing; /* ctx committing list */ |
259 | }; | 260 | }; |
260 | 261 | ||