Browse Source

comments

pull/3293/head
chrislu 3 years ago
parent
commit
6f00c7f061
  1. 3
      weed/mount/weedfs_rename.go

3
weed/mount/weedfs_rename.go

@ -238,10 +238,11 @@ func (wfs *WFS) handleRenameResponse(ctx context.Context, resp *filer_pb.StreamR
if fh := wfs.fhmap.inode2fh[sourceInode]; foundFh && fh.entry != nil {
fh.entry.Name = newName
}
// invalidate attr and data
wfs.fuseServer.InodeNotify(sourceInode, 0, -1)
}
// invalidate attr and data
if targetInode != 0 {
// invalidate attr and data
wfs.fuseServer.InodeNotify(targetInode, 0, -1)
}

Loading…
Cancel
Save