Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5cf49d76 authored by Wang Sheng-Hui's avatar Wang Sheng-Hui Committed by Jan Kara
Browse files

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: default avatarWang Sheng-Hui <shhuiw@gmail.com>
Acked-by: default avatarAmir Goldstein <amir73il@users.sf.net>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent 2b76aa07
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -45,7 +45,7 @@ struct journal_head {
	 * has been cowed
	 * [jbd_lock_bh_state()]
	 */
	unsigned b_cow_tid;
	tid_t b_cow_tid;

	/*
	 * Copy of the buffer data frozen for writing to the log.