mount: comment out stuck fuse inode notify during renaming

This commit is contained in:
chrislu 2022-07-22 18:17:34 -07:00
parent a5c94acd4f
commit 2c8818351f

View file

@ -239,11 +239,11 @@ func (wfs *WFS) handleRenameResponse(ctx context.Context, resp *filer_pb.StreamR
fh.entry.Name = newName
}
// invalidate attr and data
wfs.fuseServer.InodeNotify(sourceInode, 0, -1)
// wfs.fuseServer.InodeNotify(sourceInode, 0, -1)
}
if targetInode != 0 {
// invalidate attr and data
wfs.fuseServer.InodeNotify(targetInode, 0, -1)
// wfs.fuseServer.InodeNotify(targetInode, 0, -1)
}
} else if resp.EventNotification.OldEntry != nil {