Re: 2.4.2 fs/inode.c

From: Chris Mason (mason@suse.com)
Date: Thu Mar 22 2001 - 15:21:00 EST


On Thursday, March 22, 2001 07:04:52 PM +0000 "Stephen C. Tweedie"
<sct@redhat.com> wrote:

> Hi,
>
> On Thu, Mar 22, 2001 at 01:42:15PM -0500, Jan Harkes wrote:
>>
>> I found some code that seems wrong and didn't even match it's comment.
>> Patch is against 2.4.2, but should go cleanly against 2.4.3-pre6 as well.
>
> Patch looks fine to me. Have you tested it? If this goes wrong,
> things break badly...

This should only affect reiserfs, and it should be a good thing. I'll do
some tests, thanks for spotting.

>
>> /* Don't do this for I_DIRTY_PAGES - that doesn't actually dirty the
>> inode itself */ - if (flags & (I_DIRTY | I_DIRTY_SYNC)) {
>> + if (flags & (I_DIRTY_SYNC | I_DIRTY_DATASYNC)) {

-chris

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 23 2001 - 21:00:18 EST