diff options
Diffstat (limited to 'fs/xfs/xfs_log.h')
-rw-r--r-- | fs/xfs/xfs_log.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/fs/xfs/xfs_log.h b/fs/xfs/xfs_log.h index 97a24c7795a4..229d1f36ba9a 100644 --- a/fs/xfs/xfs_log.h +++ b/fs/xfs/xfs_log.h | |||
@@ -110,6 +110,12 @@ typedef struct xfs_log_iovec { | |||
110 | uint i_type; /* type of region */ | 110 | uint i_type; /* type of region */ |
111 | } xfs_log_iovec_t; | 111 | } xfs_log_iovec_t; |
112 | 112 | ||
113 | struct xfs_log_vec { | ||
114 | struct xfs_log_vec *lv_next; /* next lv in build list */ | ||
115 | int lv_niovecs; /* number of iovecs in lv */ | ||
116 | struct xfs_log_iovec *lv_iovecp; /* iovec array */ | ||
117 | }; | ||
118 | |||
113 | /* | 119 | /* |
114 | * Structure used to pass callback function and the function's argument | 120 | * Structure used to pass callback function and the function's argument |
115 | * to the log manager. | 121 | * to the log manager. |
@@ -126,6 +132,13 @@ typedef struct xfs_log_callback { | |||
126 | struct xfs_mount; | 132 | struct xfs_mount; |
127 | struct xlog_in_core; | 133 | struct xlog_in_core; |
128 | struct xlog_ticket; | 134 | struct xlog_ticket; |
135 | struct xfs_log_item; | ||
136 | struct xfs_item_ops; | ||
137 | |||
138 | void xfs_log_item_init(struct xfs_mount *mp, | ||
139 | struct xfs_log_item *item, | ||
140 | int type, | ||
141 | struct xfs_item_ops *ops); | ||
129 | 142 | ||
130 | xfs_lsn_t xfs_log_done(struct xfs_mount *mp, | 143 | xfs_lsn_t xfs_log_done(struct xfs_mount *mp, |
131 | struct xlog_ticket *ticket, | 144 | struct xlog_ticket *ticket, |