aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorMingming Cao <cmm@us.ibm.com>2006-10-11 04:21:13 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-11 14:14:18 -0400
commit18eba7aae080d4a5c0d850ea810e83d11f0a8d77 (patch)
tree58277e871787fad73c588b3ba81899f9c8b98553 /fs/jbd2/commit.c
parent9b8f1f0106ab39ad58765d4e7c57189835f51127 (diff)
[PATCH] jbd2: switch blks_type from sector_t to ull
Similar to ext4, change blocks in JBD2 from sector_t to unsigned long long. Signed-off-by: Mingming Cao <cmm@us.ibm.com> Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/jbd2/commit.c')
-rw-r--r--fs/jbd2/commit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/jbd2/commit.c b/fs/jbd2/commit.c
index 1a9ce8885220..70b2ae1ef281 100644
--- a/fs/jbd2/commit.c
+++ b/fs/jbd2/commit.c
@@ -272,7 +272,7 @@ write_out_data:
272} 272}
273 273
274static inline void write_tag_block(int tag_bytes, journal_block_tag_t *tag, 274static inline void write_tag_block(int tag_bytes, journal_block_tag_t *tag,
275 sector_t block) 275 unsigned long long block)
276{ 276{
277 tag->t_blocknr = cpu_to_be32(block & (u32)~0); 277 tag->t_blocknr = cpu_to_be32(block & (u32)~0);
278 if (tag_bytes > JBD_TAG_SIZE32) 278 if (tag_bytes > JBD_TAG_SIZE32)
@@ -293,7 +293,7 @@ void jbd2_journal_commit_transaction(journal_t *journal)
293 int bufs; 293 int bufs;
294 int flags; 294 int flags;
295 int err; 295 int err;
296 sector_t blocknr; 296 unsigned long long blocknr;
297 char *tagp = NULL; 297 char *tagp = NULL;
298 journal_header_t *header; 298 journal_header_t *header;
299 journal_block_tag_t *tag = NULL; 299 journal_block_tag_t *tag = NULL;