Browse Source

mount: comment out stuck fuse inode notify during renaming

pull/3354/head
chrislu 3 years ago
parent
commit
2c8818351f
  1. 4
      weed/mount/weedfs_rename.go

4
weed/mount/weedfs_rename.go

@ -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 {

Loading…
Cancel
Save