diff options
Diffstat (limited to 'fs/xfs/xfs_log.h')
| -rw-r--r-- | fs/xfs/xfs_log.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/fs/xfs/xfs_log.h b/fs/xfs/xfs_log.h index 7074be9d13e9..97a24c7795a4 100644 --- a/fs/xfs/xfs_log.h +++ b/fs/xfs/xfs_log.h | |||
| @@ -110,8 +110,6 @@ 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 | typedef void* xfs_log_ticket_t; | ||
| 114 | |||
| 115 | /* | 113 | /* |
| 116 | * Structure used to pass callback function and the function's argument | 114 | * Structure used to pass callback function and the function's argument |
| 117 | * to the log manager. | 115 | * to the log manager. |
| @@ -126,10 +124,12 @@ typedef struct xfs_log_callback { | |||
| 126 | #ifdef __KERNEL__ | 124 | #ifdef __KERNEL__ |
| 127 | /* Log manager interfaces */ | 125 | /* Log manager interfaces */ |
| 128 | struct xfs_mount; | 126 | struct xfs_mount; |
| 127 | struct xlog_in_core; | ||
| 129 | struct xlog_ticket; | 128 | struct xlog_ticket; |
| 129 | |||
| 130 | xfs_lsn_t xfs_log_done(struct xfs_mount *mp, | 130 | xfs_lsn_t xfs_log_done(struct xfs_mount *mp, |
| 131 | xfs_log_ticket_t ticket, | 131 | struct xlog_ticket *ticket, |
| 132 | void **iclog, | 132 | struct xlog_in_core **iclog, |
| 133 | uint flags); | 133 | uint flags); |
| 134 | int _xfs_log_force(struct xfs_mount *mp, | 134 | int _xfs_log_force(struct xfs_mount *mp, |
| 135 | uint flags, | 135 | uint flags, |
| @@ -151,21 +151,21 @@ int xfs_log_mount_finish(struct xfs_mount *mp); | |||
| 151 | void xfs_log_move_tail(struct xfs_mount *mp, | 151 | void xfs_log_move_tail(struct xfs_mount *mp, |
| 152 | xfs_lsn_t tail_lsn); | 152 | xfs_lsn_t tail_lsn); |
| 153 | int xfs_log_notify(struct xfs_mount *mp, | 153 | int xfs_log_notify(struct xfs_mount *mp, |
| 154 | void *iclog, | 154 | struct xlog_in_core *iclog, |
| 155 | xfs_log_callback_t *callback_entry); | 155 | xfs_log_callback_t *callback_entry); |
| 156 | int xfs_log_release_iclog(struct xfs_mount *mp, | 156 | int xfs_log_release_iclog(struct xfs_mount *mp, |
| 157 | void *iclog_hndl); | 157 | struct xlog_in_core *iclog); |
| 158 | int xfs_log_reserve(struct xfs_mount *mp, | 158 | int xfs_log_reserve(struct xfs_mount *mp, |
| 159 | int length, | 159 | int length, |
| 160 | int count, | 160 | int count, |
| 161 | xfs_log_ticket_t *ticket, | 161 | struct xlog_ticket **ticket, |
| 162 | __uint8_t clientid, | 162 | __uint8_t clientid, |
| 163 | uint flags, | 163 | uint flags, |
| 164 | uint t_type); | 164 | uint t_type); |
| 165 | int xfs_log_write(struct xfs_mount *mp, | 165 | int xfs_log_write(struct xfs_mount *mp, |
| 166 | xfs_log_iovec_t region[], | 166 | xfs_log_iovec_t region[], |
| 167 | int nentries, | 167 | int nentries, |
| 168 | xfs_log_ticket_t ticket, | 168 | struct xlog_ticket *ticket, |
| 169 | xfs_lsn_t *start_lsn); | 169 | xfs_lsn_t *start_lsn); |
| 170 | int xfs_log_unmount_write(struct xfs_mount *mp); | 170 | int xfs_log_unmount_write(struct xfs_mount *mp); |
| 171 | void xfs_log_unmount(struct xfs_mount *mp); | 171 | void xfs_log_unmount(struct xfs_mount *mp); |
