Re: [BUG] Linux 2.6.16-rcX breaks mutt

From: Nathan Scott
Date: Mon Feb 06 2006 - 18:31:56 EST


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?

thanks.

--
Nathan

--- 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;
-
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/