Re: [BUG] Linux 2.6.16-rcX breaks mutt

From: Luca
Date: Tue Feb 07 2006 - 09:48:00 EST


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