mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
mount: comment out stuck fuse inode notify during renaming
This commit is contained in:
parent
a5c94acd4f
commit
2c8818351f
|
@ -239,11 +239,11 @@ func (wfs *WFS) handleRenameResponse(ctx context.Context, resp *filer_pb.StreamR
|
||||||
fh.entry.Name = newName
|
fh.entry.Name = newName
|
||||||
}
|
}
|
||||||
// invalidate attr and data
|
// invalidate attr and data
|
||||||
wfs.fuseServer.InodeNotify(sourceInode, 0, -1)
|
// wfs.fuseServer.InodeNotify(sourceInode, 0, -1)
|
||||||
}
|
}
|
||||||
if targetInode != 0 {
|
if targetInode != 0 {
|
||||||
// invalidate attr and data
|
// invalidate attr and data
|
||||||
wfs.fuseServer.InodeNotify(targetInode, 0, -1)
|
// wfs.fuseServer.InodeNotify(targetInode, 0, -1)
|
||||||
}
|
}
|
||||||
|
|
||||||
} else if resp.EventNotification.OldEntry != nil {
|
} else if resp.EventNotification.OldEntry != nil {
|
||||||
|
|
Loading…
Reference in a new issue