This commit is contained in:
chrislu 2022-02-18 00:47:15 -08:00
parent e8ce30fdc5
commit d62370d4e0

View file

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