diff options
author | Wang Sheng-Hui <shhuiw@gmail.com> | 2011-07-25 09:02:25 -0400 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2011-07-25 11:24:47 -0400 |
commit | 5cf49d763eb141d236e92be6d4a0dc94e31fa886 (patch) | |
tree | cdfd0091c9081eb44ab7cf4d752c577733c828ae /include | |
parent | 2b76aa074e9de718b31ba48699e99191b7697bf2 (diff) |
jbd: change the field "b_cow_tid" of struct journal_head from type unsigned to tid_t
In the definition of struct journal_head, the comment for
the field "unsigned b_cow_tid" says the field tracks the
last transaction id in which this buffer has been cowed.
In the header part of file journal-head.h, it defines
typedef unsigned int tid_t;
We should use type tid_t to define transaction id fields.
Change the field "b_cow_tid" of struct journal_head from
type unsigned to tid_t.
Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>
Acked-by: Amir Goldstein <amir73il@users.sf.net>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/journal-head.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/journal-head.h b/include/linux/journal-head.h index 44e95d0a721f..423cb6d78ee0 100644 --- a/include/linux/journal-head.h +++ b/include/linux/journal-head.h | |||
@@ -45,7 +45,7 @@ struct journal_head { | |||
45 | * has been cowed | 45 | * has been cowed |
46 | * [jbd_lock_bh_state()] | 46 | * [jbd_lock_bh_state()] |
47 | */ | 47 | */ |
48 | unsigned b_cow_tid; | 48 | tid_t b_cow_tid; |
49 | 49 | ||
50 | /* | 50 | /* |
51 | * Copy of the buffer data frozen for writing to the log. | 51 | * Copy of the buffer data frozen for writing to the log. |