X-Git-Url: https://git.stricted.de/?a=blobdiff_plain;f=include%2Flinux%2Fjbd2.h;h=cc02393bfce83145589403e3e8609de1b74ea1a8;hb=67c457a8c378a006a34d92f9bd3078a80a92f250;hp=4d248b3f1323d828170a9de92d2aba1db7c5f0f4;hpb=9fb5430c3d6e96a74fd4406dbe7608f36abb9987;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git diff --git a/include/linux/jbd2.h b/include/linux/jbd2.h index 4d248b3f1323..cc02393bfce8 100644 --- a/include/linux/jbd2.h +++ b/include/linux/jbd2.h @@ -648,6 +648,12 @@ struct transaction_s */ int t_handle_count; + /* + * This transaction is being forced and some process is + * waiting for it to finish. + */ + int t_synchronous_commit:1; + /* * For use by the filesystem to store fs-specific data * structures associated with the transaction @@ -1187,7 +1193,8 @@ extern int jbd2_journal_init_revoke_caches(void); extern void jbd2_journal_destroy_revoke(journal_t *); extern int jbd2_journal_revoke (handle_t *, unsigned long long, struct buffer_head *); extern int jbd2_journal_cancel_revoke(handle_t *, struct journal_head *); -extern void jbd2_journal_write_revoke_records(journal_t *, transaction_t *); +extern void jbd2_journal_write_revoke_records(journal_t *, + transaction_t *, int); /* Recovery revoke support */ extern int jbd2_journal_set_revoke(journal_t *, unsigned long long, tid_t);