mount: comment out stuck fuse inode notify during renaming
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user