aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/recovery.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/jbd2/recovery.c')
-rw-r--r--fs/jbd2/recovery.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/jbd2/recovery.c b/fs/jbd2/recovery.c
index 2486843adda0..52054a83e717 100644
--- a/fs/jbd2/recovery.c
+++ b/fs/jbd2/recovery.c
@@ -70,7 +70,7 @@ static int do_readahead(journal_t *journal, unsigned int start)
70{ 70{
71 int err; 71 int err;
72 unsigned int max, nbufs, next; 72 unsigned int max, nbufs, next;
73 unsigned long blocknr; 73 sector_t blocknr;
74 struct buffer_head *bh; 74 struct buffer_head *bh;
75 75
76 struct buffer_head * bufs[MAXBUF]; 76 struct buffer_head * bufs[MAXBUF];
@@ -132,7 +132,7 @@ static int jread(struct buffer_head **bhp, journal_t *journal,
132 unsigned int offset) 132 unsigned int offset)
133{ 133{
134 int err; 134 int err;
135 unsigned long blocknr; 135 sector_t blocknr;
136 struct buffer_head *bh; 136 struct buffer_head *bh;
137 137
138 *bhp = NULL; 138 *bhp = NULL;
@@ -452,7 +452,7 @@ static int do_one_pass(journal_t *journal,
452 "block %ld in log\n", 452 "block %ld in log\n",
453 err, io_block); 453 err, io_block);
454 } else { 454 } else {
455 unsigned long blocknr; 455 sector_t blocknr;
456 456
457 J_ASSERT(obh != NULL); 457 J_ASSERT(obh != NULL);
458 blocknr = read_tag_block(tag_bytes, 458 blocknr = read_tag_block(tag_bytes,
@@ -592,7 +592,7 @@ static int scan_revoke_records(journal_t *journal, struct buffer_head *bh,
592 record_len = 8; 592 record_len = 8;
593 593
594 while (offset + record_len <= max) { 594 while (offset + record_len <= max) {
595 unsigned long blocknr; 595 sector_t blocknr;
596 int err; 596 int err;
597 597
598 if (record_len == 4) 598 if (record_len == 4)