diff options
Diffstat (limited to 'include/linux/jbd.h')
-rw-r--r-- | include/linux/jbd.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/include/linux/jbd.h b/include/linux/jbd.h index c2049a04fa0b..a1187a0c99b4 100644 --- a/include/linux/jbd.h +++ b/include/linux/jbd.h | |||
@@ -446,7 +446,7 @@ struct transaction_s | |||
446 | /* | 446 | /* |
447 | * Where in the log does this transaction's commit start? [no locking] | 447 | * Where in the log does this transaction's commit start? [no locking] |
448 | */ | 448 | */ |
449 | unsigned long t_log_start; | 449 | unsigned int t_log_start; |
450 | 450 | ||
451 | /* Number of buffers on the t_buffers list [j_list_lock] */ | 451 | /* Number of buffers on the t_buffers list [j_list_lock] */ |
452 | int t_nr_buffers; | 452 | int t_nr_buffers; |
@@ -701,26 +701,26 @@ struct journal_s | |||
701 | * Journal head: identifies the first unused block in the journal. | 701 | * Journal head: identifies the first unused block in the journal. |
702 | * [j_state_lock] | 702 | * [j_state_lock] |
703 | */ | 703 | */ |
704 | unsigned long j_head; | 704 | unsigned int j_head; |
705 | 705 | ||
706 | /* | 706 | /* |
707 | * Journal tail: identifies the oldest still-used block in the journal. | 707 | * Journal tail: identifies the oldest still-used block in the journal. |
708 | * [j_state_lock] | 708 | * [j_state_lock] |
709 | */ | 709 | */ |
710 | unsigned long j_tail; | 710 | unsigned int j_tail; |
711 | 711 | ||
712 | /* | 712 | /* |
713 | * Journal free: how many free blocks are there in the journal? | 713 | * Journal free: how many free blocks are there in the journal? |
714 | * [j_state_lock] | 714 | * [j_state_lock] |
715 | */ | 715 | */ |
716 | unsigned long j_free; | 716 | unsigned int j_free; |
717 | 717 | ||
718 | /* | 718 | /* |
719 | * Journal start and end: the block numbers of the first usable block | 719 | * Journal start and end: the block numbers of the first usable block |
720 | * and one beyond the last usable block in the journal. [j_state_lock] | 720 | * and one beyond the last usable block in the journal. [j_state_lock] |
721 | */ | 721 | */ |
722 | unsigned long j_first; | 722 | unsigned int j_first; |
723 | unsigned long j_last; | 723 | unsigned int j_last; |
724 | 724 | ||
725 | /* | 725 | /* |
726 | * Device, blocksize and starting block offset for the location where we | 726 | * Device, blocksize and starting block offset for the location where we |
@@ -728,7 +728,7 @@ struct journal_s | |||
728 | */ | 728 | */ |
729 | struct block_device *j_dev; | 729 | struct block_device *j_dev; |
730 | int j_blocksize; | 730 | int j_blocksize; |
731 | unsigned long j_blk_offset; | 731 | unsigned int j_blk_offset; |
732 | 732 | ||
733 | /* | 733 | /* |
734 | * Device which holds the client fs. For internal journal this will be | 734 | * Device which holds the client fs. For internal journal this will be |
@@ -859,7 +859,7 @@ extern void __journal_clean_data_list(transaction_t *transaction); | |||
859 | 859 | ||
860 | /* Log buffer allocation */ | 860 | /* Log buffer allocation */ |
861 | extern struct journal_head * journal_get_descriptor_buffer(journal_t *); | 861 | extern struct journal_head * journal_get_descriptor_buffer(journal_t *); |
862 | int journal_next_log_block(journal_t *, unsigned long *); | 862 | int journal_next_log_block(journal_t *, unsigned int *); |
863 | 863 | ||
864 | /* Commit management */ | 864 | /* Commit management */ |
865 | extern void journal_commit_transaction(journal_t *); | 865 | extern void journal_commit_transaction(journal_t *); |
@@ -874,7 +874,7 @@ extern int | |||
874 | journal_write_metadata_buffer(transaction_t *transaction, | 874 | journal_write_metadata_buffer(transaction_t *transaction, |
875 | struct journal_head *jh_in, | 875 | struct journal_head *jh_in, |
876 | struct journal_head **jh_out, | 876 | struct journal_head **jh_out, |
877 | unsigned long blocknr); | 877 | unsigned int blocknr); |
878 | 878 | ||
879 | /* Transaction locking */ | 879 | /* Transaction locking */ |
880 | extern void __wait_on_journal (journal_t *); | 880 | extern void __wait_on_journal (journal_t *); |
@@ -942,7 +942,7 @@ extern void journal_abort (journal_t *, int); | |||
942 | extern int journal_errno (journal_t *); | 942 | extern int journal_errno (journal_t *); |
943 | extern void journal_ack_err (journal_t *); | 943 | extern void journal_ack_err (journal_t *); |
944 | extern int journal_clear_err (journal_t *); | 944 | extern int journal_clear_err (journal_t *); |
945 | extern int journal_bmap(journal_t *, unsigned long, unsigned long *); | 945 | extern int journal_bmap(journal_t *, unsigned int, unsigned int *); |
946 | extern int journal_force_commit(journal_t *); | 946 | extern int journal_force_commit(journal_t *); |
947 | 947 | ||
948 | /* | 948 | /* |
@@ -976,14 +976,14 @@ extern int journal_init_revoke_caches(void); | |||
976 | 976 | ||
977 | extern void journal_destroy_revoke(journal_t *); | 977 | extern void journal_destroy_revoke(journal_t *); |
978 | extern int journal_revoke (handle_t *, | 978 | extern int journal_revoke (handle_t *, |
979 | unsigned long, struct buffer_head *); | 979 | unsigned int, struct buffer_head *); |
980 | extern int journal_cancel_revoke(handle_t *, struct journal_head *); | 980 | extern int journal_cancel_revoke(handle_t *, struct journal_head *); |
981 | extern void journal_write_revoke_records(journal_t *, | 981 | extern void journal_write_revoke_records(journal_t *, |
982 | transaction_t *, int); | 982 | transaction_t *, int); |
983 | 983 | ||
984 | /* Recovery revoke support */ | 984 | /* Recovery revoke support */ |
985 | extern int journal_set_revoke(journal_t *, unsigned long, tid_t); | 985 | extern int journal_set_revoke(journal_t *, unsigned int, tid_t); |
986 | extern int journal_test_revoke(journal_t *, unsigned long, tid_t); | 986 | extern int journal_test_revoke(journal_t *, unsigned int, tid_t); |
987 | extern void journal_clear_revoke(journal_t *); | 987 | extern void journal_clear_revoke(journal_t *); |
988 | extern void journal_switch_revoke_table(journal_t *journal); | 988 | extern void journal_switch_revoke_table(journal_t *journal); |
989 | 989 | ||