Browse Source

add todo

pull/2690/head
chrislu 3 years ago
parent
commit
d62370d4e0
  1. 1
      weed/mount/weedfs_file_io.go

1
weed/mount/weedfs_file_io.go

@ -64,6 +64,7 @@ func (wfs *WFS) Open(cancel <-chan struct{}, in *fuse.OpenIn, out *fuse.OpenOut)
fileHandle, code := wfs.AcquireHandle(in.NodeId, in.Uid, in.Gid) fileHandle, code := wfs.AcquireHandle(in.NodeId, in.Uid, in.Gid)
if code == fuse.OK { if code == fuse.OK {
out.Fh = uint64(fileHandle.fh) out.Fh = uint64(fileHandle.fh)
// TODO https://github.com/libfuse/libfuse/blob/master/include/fuse_common.h#L64
} }
return code return code
} }

Loading…
Cancel
Save