Implement lseek syscall in FUSE (#3491)

See the man page of lseek:
https://man7.org/linux/man-pages/man2/lseek.2.html
This commit is contained in:
Patrick Schmidt
2022-08-23 10:47:18 +02:00
committed by GitHub
parent bf88006037
commit cda8cc22bc
2 changed files with 110 additions and 7 deletions

View File

@@ -16,13 +16,6 @@ func (wfs *WFS) Fallocate(cancel <-chan struct{}, in *fuse.FallocateIn) (code fu
return fuse.ENOSYS
}
/**
* Find next data or hole after the specified offset
*/
func (wfs *WFS) Lseek(cancel <-chan struct{}, in *fuse.LseekIn, out *fuse.LseekOut) fuse.Status {
return fuse.ENOSYS
}
func (wfs *WFS) GetLk(cancel <-chan struct{}, in *fuse.LkIn, out *fuse.LkOut) (code fuse.Status) {
return fuse.ENOSYS
}