]> git.baikalelectronics.ru Git - kernel.git/commit
jbd: change the field "b_cow_tid" of struct journal_head from type unsigned to tid_t
authorWang Sheng-Hui <shhuiw@gmail.com>
Mon, 25 Jul 2011 13:02:25 +0000 (21:02 +0800)
committerJan Kara <jack@suse.cz>
Mon, 25 Jul 2011 15:24:47 +0000 (17:24 +0200)
commitca85fae4713d1aa1dea285050d87649eacedfddf
treecdfd0091c9081eb44ab7cf4d752c577733c828ae
parent1d534fb8c092b07e0b1ac6f3793716e9d5c22671
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>
include/linux/journal-head.h