xfs
[Top] [All Lists]

Re: [BUG] Linux 2.6.16-rcX breaks mutt

To: Luca <kronos@xxxxxxxxxxxxxx>
Subject: Re: [BUG] Linux 2.6.16-rcX breaks mutt
From: Nathan Scott <nathans@xxxxxxx>
Date: Tue, 7 Feb 2006 10:30:46 +1100
Cc: linux-kernel@xxxxxxxxxxxxxxx, linux-xfs@xxxxxxxxxxx
In-reply-to: <20060206172141.GA15133@dreamland.darkstar.lan>
References: <20060206172141.GA15133@dreamland.darkstar.lan>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.3i
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;


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