The patch titled
     fuse: fix attribute caching after rename
has been added to the -mm tree.  Its filename is
     fuse-fix-attribute-caching-after-rename.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: fuse: fix attribute caching after rename
From: Miklos Szeredi <[EMAIL PROTECTED]>

Invalidate attributes on rename, since some filesystems may update
st_ctime.  Reported by Szabolcs Szakacsits

Signed-off-by: Miklos Szeredi <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 fs/fuse/dir.c |    3 +++
 1 file changed, 3 insertions(+)

diff -puN fs/fuse/dir.c~fuse-fix-attribute-caching-after-rename fs/fuse/dir.c
--- a/fs/fuse/dir.c~fuse-fix-attribute-caching-after-rename
+++ a/fs/fuse/dir.c
@@ -657,6 +657,9 @@ static int fuse_rename(struct inode *old
        err = req->out.h.error;
        fuse_put_request(fc, req);
        if (!err) {
+               /* ctime changes */
+               fuse_invalidate_attr(oldent->d_inode);
+
                fuse_invalidate_attr(olddir);
                if (olddir != newdir)
                        fuse_invalidate_attr(newdir);
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

origin.patch
fuse-fix-attribute-caching-after-rename.patch
iget-stop-fuse-from-using-iget-and-read_inode-try.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to