Message ID | 1233845582-954-4-git-send-email-jack@suse.cz |
---|---|
State | Superseded, archived |
Headers | show |
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
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 */
Add new parameter of the function. CC: ocfs2-devel@oss.oracle.com CC: mfasheh@suse.de Signed-off-by: Jan Kara <jack@suse.cz> --- fs/ocfs2/journal.h | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-)