Browse Source

return err

pull/1862/head
Chris Lu 4 years ago
parent
commit
02e146f3e1
  1. 4
      weed/filesys/dir_link.go

4
weed/filesys/dir_link.go

@ -83,6 +83,10 @@ func (dir *Dir) Link(ctx context.Context, req *fuse.LinkRequest, old fs.Node) (f
return nil
})
if err != nil {
return nil, fuse.EIO
}
// create new file node
newNode := dir.newFile(req.NewName, request.Entry)
newFile := newNode.(*File)

Loading…
Cancel
Save