diff options
| author | Takashi Iwai <tiwai@suse.de> | 2009-05-04 10:00:16 -0400 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2009-05-04 10:00:16 -0400 |
| commit | 3a20ac2c52b1317f5a5f0bd9cd3cbe8495ddd026 (patch) | |
| tree | 9a912f2609cefb9698b5cce09cd240bd6dbd09fb /include/linux/jbd2.h | |
| parent | 18cc8d8d9b74c446832336d8f6e1afb145f9431b (diff) | |
| parent | 3e5b50165fd0be080044586f43fcdd460ed27610 (diff) | |
Merge branch 'fix/pcm-jiffies-check' into fix/asoc
Diffstat (limited to 'include/linux/jbd2.h')
| -rw-r--r-- | include/linux/jbd2.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/include/linux/jbd2.h b/include/linux/jbd2.h index b45109c61fba..cc02393bfce8 100644 --- a/include/linux/jbd2.h +++ b/include/linux/jbd2.h | |||
| @@ -308,7 +308,8 @@ void buffer_assertion_failure(struct buffer_head *bh); | |||
| 308 | int val = (expr); \ | 308 | int val = (expr); \ |
| 309 | if (!val) { \ | 309 | if (!val) { \ |
| 310 | printk(KERN_ERR \ | 310 | printk(KERN_ERR \ |
| 311 | "EXT3-fs unexpected failure: %s;\n",# expr); \ | 311 | "JBD2 unexpected failure: %s: %s;\n", \ |
| 312 | __func__, #expr); \ | ||
| 312 | printk(KERN_ERR why "\n"); \ | 313 | printk(KERN_ERR why "\n"); \ |
| 313 | } \ | 314 | } \ |
| 314 | val; \ | 315 | val; \ |
| @@ -648,6 +649,12 @@ struct transaction_s | |||
| 648 | int t_handle_count; | 649 | int t_handle_count; |
| 649 | 650 | ||
| 650 | /* | 651 | /* |
| 652 | * This transaction is being forced and some process is | ||
| 653 | * waiting for it to finish. | ||
| 654 | */ | ||
| 655 | int t_synchronous_commit:1; | ||
| 656 | |||
| 657 | /* | ||
| 651 | * For use by the filesystem to store fs-specific data | 658 | * For use by the filesystem to store fs-specific data |
| 652 | * structures associated with the transaction | 659 | * structures associated with the transaction |
| 653 | */ | 660 | */ |
| @@ -1149,7 +1156,8 @@ extern int jbd2_journal_clear_err (journal_t *); | |||
| 1149 | extern int jbd2_journal_bmap(journal_t *, unsigned long, unsigned long long *); | 1156 | extern int jbd2_journal_bmap(journal_t *, unsigned long, unsigned long long *); |
| 1150 | extern int jbd2_journal_force_commit(journal_t *); | 1157 | extern int jbd2_journal_force_commit(journal_t *); |
| 1151 | extern int jbd2_journal_file_inode(handle_t *handle, struct jbd2_inode *inode); | 1158 | extern int jbd2_journal_file_inode(handle_t *handle, struct jbd2_inode *inode); |
| 1152 | extern int jbd2_journal_begin_ordered_truncate(struct jbd2_inode *inode, loff_t new_size); | 1159 | extern int jbd2_journal_begin_ordered_truncate(journal_t *journal, |
| 1160 | struct jbd2_inode *inode, loff_t new_size); | ||
| 1153 | extern void jbd2_journal_init_jbd_inode(struct jbd2_inode *jinode, struct inode *inode); | 1161 | extern void jbd2_journal_init_jbd_inode(struct jbd2_inode *jinode, struct inode *inode); |
| 1154 | extern void jbd2_journal_release_jbd_inode(journal_t *journal, struct jbd2_inode *jinode); | 1162 | extern void jbd2_journal_release_jbd_inode(journal_t *journal, struct jbd2_inode *jinode); |
| 1155 | 1163 | ||
| @@ -1185,7 +1193,8 @@ extern int jbd2_journal_init_revoke_caches(void); | |||
| 1185 | extern void jbd2_journal_destroy_revoke(journal_t *); | 1193 | extern void jbd2_journal_destroy_revoke(journal_t *); |
| 1186 | extern int jbd2_journal_revoke (handle_t *, unsigned long long, struct buffer_head *); | 1194 | extern int jbd2_journal_revoke (handle_t *, unsigned long long, struct buffer_head *); |
| 1187 | extern int jbd2_journal_cancel_revoke(handle_t *, struct journal_head *); | 1195 | extern int jbd2_journal_cancel_revoke(handle_t *, struct journal_head *); |
| 1188 | extern void jbd2_journal_write_revoke_records(journal_t *, transaction_t *); | 1196 | extern void jbd2_journal_write_revoke_records(journal_t *, |
| 1197 | transaction_t *, int); | ||
| 1189 | 1198 | ||
| 1190 | /* Recovery revoke support */ | 1199 | /* Recovery revoke support */ |
| 1191 | extern int jbd2_journal_set_revoke(journal_t *, unsigned long long, tid_t); | 1200 | extern int jbd2_journal_set_revoke(journal_t *, unsigned long long, tid_t); |
