jbd: Journal block numbers can ever be only 32-bit use unsigned int for them
It does not make sense to store block number for journal as unsigned long since they can be only 32-bit (because of on-disk format limitation). So change in-memory structures and variables to use unsigned int instead. Signed-off-by: Jan Kara <jack@suse.cz>
This commit is contained in:
@@ -308,7 +308,7 @@ void journal_commit_transaction(journal_t *journal)
|
||||
int bufs;
|
||||
int flags;
|
||||
int err;
|
||||
unsigned long blocknr;
|
||||
unsigned int blocknr;
|
||||
ktime_t start_time;
|
||||
u64 commit_time;
|
||||
char *tagp = NULL;
|
||||
|
Reference in New Issue
Block a user