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@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html