xfs
[Top] [All Lists]

Re: [BUG] Linux 2.6.16-rcX breaks mutt

To: Nathan Scott <nathans@xxxxxxx>
Subject: Re: [BUG] Linux 2.6.16-rcX breaks mutt
From: Luca <kronos@xxxxxxxxxxxxxx>
Date: Tue, 7 Feb 2006 15:49:37 +0100
Cc: linux-kernel@xxxxxxxxxxxxxxx, linux-xfs@xxxxxxxxxxx
In-reply-to: <20060206233046.GC791@frodo>
References: <20060206172141.GA15133@dreamland.darkstar.lan> <20060206233046.GC791@frodo>
Reply-to: kronos@xxxxxxxxxxxxxx
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.11+cvs20060126
Il Tue, Feb 07, 2006 at 10:30:46AM +1100, Nathan Scott ha scritto: 
> Hi Luca,
> 
> On Mon, Feb 06, 2006 at 06:21:41PM +0100, Luca wrote:
> > Hi,
> > I found out that mutt when running with a 2.6.16-rcX kernel is unable to
> > discover new mails in mboxes other than the main one.
> > ...
> > I've done a simple test with working and non working system:
> 
> I constructed a test case based on your description, and this patch
> fixes it for me - could you try it out & let me know how it goes in
> yoour case?

Tested now, it's working.

> --- fs/xfs/linux-2.6/xfs_iops.c.orig  2006-02-07 10:49:34.143620000 +1100
> +++ fs/xfs/linux-2.6/xfs_iops.c       2006-02-07 10:49:57.785097500 +1100
> @@ -673,6 +673,8 @@ linvfs_setattr(
>       if (ia_valid & ATTR_ATIME) {
>               vattr.va_mask |= XFS_AT_ATIME;
>               vattr.va_atime = attr->ia_atime;
> +             if (ia_valid & ATTR_ATIME_SET)
> +                     inode->i_atime = attr->ia_atime;
>       }
>       if (ia_valid & ATTR_MTIME) {
>               vattr.va_mask |= XFS_AT_MTIME;

thanks,
Luca
-- 
Home: http://kronoz.cjb.net
La somma dell'intelligenza sulla terra e` una costante.
La popolazione e` in aumento.


<Prev in Thread] Current Thread [Next in Thread>