[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090713130507.GA12833@mit.edu>
Date: Mon, 13 Jul 2009 09:05:07 -0400
From: Theodore Tso <tytso@....edu>
To: "Aneesh Kumar K.V" <aneesh.kumar@...ux.vnet.ibm.com>
Cc: Curt Wohlgemuth <curtw@...gle.com>,
ext4 development <linux-ext4@...r.kernel.org>
Subject: Re: RFC PATCH: ext4 no journal corruption with locale-gen
On Mon, Jul 06, 2009 at 09:00:16PM +0530, Aneesh Kumar K.V wrote:
> > diff --git a/fs/ext4/ext4_jbd2.h b/fs/ext4/ext4_jbd2.h
> > index be2f426..f800134 100644
> > --- a/fs/ext4/ext4_jbd2.h
> > +++ b/fs/ext4/ext4_jbd2.h
> > @@ -282,7 +282,7 @@ static inline int ext4_should_order_data(struct inode *inode)
> > static inline int ext4_should_writeback_data(struct inode *inode)
> > {
> > if (EXT4_JOURNAL(inode) == NULL)
> > - return 0;
> > + return 1;
> > if (!S_ISREG(inode->i_mode))
> > return 0;
> > if (EXT4_I(inode)->i_flags & EXT4_JOURNAL_DATA_FL)
>
> We may want to change it after if (!S_ISREG(inode->i_mode))
> So that we don't return 1 for other than regular files.
Thanks for the suggestion; I've made this change.
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists