summaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorMingming Cao <cmm@us.ibm.com>2006-10-11 10:21:13 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-11 20:14:18 +0200
commit18eba7aae080d4a5c0d850ea810e83d11f0a8d77 (patch)
tree58277e871787fad73c588b3ba81899f9c8b98553 /fs/jbd2/commit.c
parent[PATCH] ext4: removesector_t bits check (diff)
downloadlinux-18eba7aae080d4a5c0d850ea810e83d11f0a8d77.tar.xz
linux-18eba7aae080d4a5c0d850ea810e83d11f0a8d77.zip
[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:
}
static inline void write_tag_block(int tag_bytes, journal_block_tag_t *tag,
- sector_t block)
+ unsigned long long block)
{
tag->t_blocknr = cpu_to_be32(block & (u32)~0);
if (tag_bytes > JBD_TAG_SIZE32)
@@ -293,7 +293,7 @@ void jbd2_journal_commit_transaction(journal_t *journal)
int bufs;
int flags;
int err;
- sector_t blocknr;
+ unsigned long long blocknr;
char *tagp = NULL;
journal_header_t *header;
journal_block_tag_t *tag = NULL;