1 Date: Tue, 26 Sep 2006 11:00:28 -0500
2 From: Eric Sandeen <esandeen@redhat.com>
3 Subject: Re: [PATCH RHEL5] 16T overflows in jbd code
5 Signed-off-by: Eric Sandeen <esandeen@redhat.com>
6 Signed-off-by: Andrew Morton <akpm@osdl.org>
8 Index: linux-2.6.17-1.2654.el5/fs/jbd/journal.c
9 ===================================================================
10 --- linux-2.6.17-1.2654.el5.orig/fs/jbd/journal.c
11 +++ linux-2.6.17-1.2654.el5/fs/jbd/journal.c
12 @@ -271,7 +271,7 @@ static void journal_kill_thread(journal_
13 int journal_write_metadata_buffer(transaction_t *transaction,
14 struct journal_head *jh_in,
15 struct journal_head **jh_out,
17 + unsigned long blocknr)
19 int need_copy_out = 0;
20 int done_copy_out = 0;
21 @@ -696,7 +696,7 @@ fail:
22 * @bdev: Block device on which to create the journal
23 * @fs_dev: Device which hold journalled filesystem for this journal.
24 * @start: Block nr Start of journal.
25 - * @len: Lenght of the journal in blocks.
26 + * @len: Length of the journal in blocks.
27 * @blocksize: blocksize of journalling device
28 * @returns: a newly created journal_t *
30 Index: linux-2.6.17-1.2654.el5/include/linux/jbd.h
31 ===================================================================
32 --- linux-2.6.17-1.2654.el5.orig/include/linux/jbd.h
33 +++ linux-2.6.17-1.2654.el5/include/linux/jbd.h
34 @@ -866,7 +866,7 @@ extern int
35 journal_write_metadata_buffer(transaction_t *transaction,
36 struct journal_head *jh_in,
37 struct journal_head **jh_out,
39 + unsigned long blocknr);
41 /* Transaction locking */
42 extern void __wait_on_journal (journal_t *);