From: Joel Becker <Joel.Becker@oracle.com>
To: Jan Kara <jack@suse.cz>
Cc: linux-ext4@vger.kernel.org, mfasheh@suse.de, mfasheh@suse.com,
Andrew Morton <akpm@linux-foundation.org>,
ocfs2-devel@oss.oracle.com
Subject: Re: [Ocfs2-devel] [PATCH 3/3] ocfs2: Add journal parameter to jbd2_journal_begin_ordered_truncate()
Date: Mon, 9 Feb 2009 19:19:17 -0800 [thread overview]
Message-ID: <20090210031917.GD4341@mail.oracle.com> (raw)
In-Reply-To: <1233845582-954-4-git-send-email-jack@suse.cz>
On Thu, Feb 05, 2009 at 03:53:02PM +0100, Jan Kara wrote:
> Add new parameter of the function.
>
> CC: ocfs2-devel@oss.oracle.com
> CC: mfasheh@suse.de
> Signed-off-by: Jan Kara <jack@suse.cz>
Acked-by: Joel Becker <joel.becker@oracle.com>
> ---
> fs/ocfs2/journal.h | 6 ++++--
> 1 files changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/fs/ocfs2/journal.h b/fs/ocfs2/journal.h
> index 3c3532e..172850a 100644
> --- a/fs/ocfs2/journal.h
> +++ b/fs/ocfs2/journal.h
> @@ -513,8 +513,10 @@ static inline int ocfs2_jbd2_file_inode(handle_t *handle, struct inode *inode)
> static inline int ocfs2_begin_ordered_truncate(struct inode *inode,
> loff_t new_size)
> {
> - return jbd2_journal_begin_ordered_truncate(&OCFS2_I(inode)->ip_jinode,
> - new_size);
> + return jbd2_journal_begin_ordered_truncate(
> + OCFS2_SB(inode->i_sb)->journal->j_journal,
> + &OCFS2_I(inode)->ip_jinode,
> + new_size);
> }
>
> #endif /* OCFS2_JOURNAL_H */
> --
> 1.6.0.2
>
>
> _______________________________________________
> Ocfs2-devel mailing list
> Ocfs2-devel@oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-devel
--
Life's Little Instruction Book #464
"Don't miss the magic of the moment by focusing on what's
to come."
Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker@oracle.com
Phone: (650) 506-8127
next prev parent reply other threads:[~2009-02-10 3:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-05 14:52 [PATCH 0/3] Fix possible NULL pointer dereference in JBD2 Jan Kara
2009-02-05 14:53 ` [PATCH 1/3] jbd2: Fix possible NULL pointer dereference in jbd2_journal_begin_ordered_truncate() Jan Kara
2009-02-05 14:53 ` [PATCH 2/3] ext4: Add journal parameter to jbd2_journal_begin_ordered_truncate() Jan Kara
2009-02-05 14:53 ` [PATCH 3/3] ocfs2: " Jan Kara
2009-02-10 3:19 ` Joel Becker [this message]
2009-02-10 15:12 ` Theodore Tso
2009-02-11 9:25 ` Jan Kara
2009-02-11 21:01 ` Mark Fasheh
2009-02-05 19:32 ` [PATCH 0/3] Fix possible NULL pointer dereference in JBD2 Mark Fasheh
2009-02-05 21:37 ` Theodore Tso
2009-02-09 17:34 ` Jan Kara
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090210031917.GD4341@mail.oracle.com \
--to=joel.becker@oracle.com \
--cc=akpm@linux-foundation.org \
--cc=jack@suse.cz \
--cc=linux-ext4@vger.kernel.org \
--cc=mfasheh@suse.com \
--cc=mfasheh@suse.de \
--cc=ocfs2-devel@oss.oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).