diff options
author | Jan Kara <jack@suse.cz> | 2009-08-03 19:21:00 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2009-09-16 17:44:10 +0200 |
commit | 9c28cbccec66a5ca292c6659bf5a0fe0c8459fa7 (patch) | |
tree | d43540ca30413ac8b3717e29f15ccbbe789a76c5 /fs/jbd/commit.c | |
parent | 19003c18e9b41f5c3aeb81c92356f90958e1f22f (diff) |
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>
Diffstat (limited to 'fs/jbd/commit.c')
-rw-r--r-- | fs/jbd/commit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jbd/commit.c b/fs/jbd/commit.c index 618e21c0b7a3..4bd882548c45 100644 --- a/fs/jbd/commit.c +++ b/fs/jbd/commit.c @@ -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; |