mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-08-01 17:46:55 +08:00
comments
This commit is contained in:
parent
d685b94102
commit
6f00c7f061
@ -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 {
|
if fh := wfs.fhmap.inode2fh[sourceInode]; foundFh && fh.entry != nil {
|
||||||
fh.entry.Name = newName
|
fh.entry.Name = newName
|
||||||
}
|
}
|
||||||
|
// invalidate attr and data
|
||||||
wfs.fuseServer.InodeNotify(sourceInode, 0, -1)
|
wfs.fuseServer.InodeNotify(sourceInode, 0, -1)
|
||||||
}
|
}
|
||||||
// invalidate attr and data
|
|
||||||
if targetInode != 0 {
|
if targetInode != 0 {
|
||||||
|
// invalidate attr and data
|
||||||
wfs.fuseServer.InodeNotify(targetInode, 0, -1)
|
wfs.fuseServer.InodeNotify(targetInode, 0, -1)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user