aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/fuse/dir.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/fuse/dir.c b/fs/fuse/dir.c
index dfc32dc97f7f..80d2f5292cf9 100644
--- a/fs/fuse/dir.c
+++ b/fs/fuse/dir.c
@@ -657,6 +657,9 @@ static int fuse_rename(struct inode *olddir, struct dentry *oldent,
657 err = req->out.h.error; 657 err = req->out.h.error;
658 fuse_put_request(fc, req); 658 fuse_put_request(fc, req);
659 if (!err) { 659 if (!err) {
660 /* ctime changes */
661 fuse_invalidate_attr(oldent->d_inode);
662
660 fuse_invalidate_attr(olddir); 663 fuse_invalidate_attr(olddir);
661 if (olddir != newdir) 664 if (olddir != newdir)
662 fuse_invalidate_attr(newdir); 665 fuse_invalidate_attr(newdir);