Update dependencies. (#56)
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
This commit is contained in:
parent
62e4980e4c
commit
b35f303981
5 changed files with 182 additions and 126 deletions
fuse
|
@ -95,11 +95,10 @@ func (fs *FS) Read(path string, dest []byte, off int64, fh uint64) int {
|
|||
}
|
||||
|
||||
dest = buf[:n]
|
||||
|
||||
return n
|
||||
}
|
||||
|
||||
func (fs *FS) Release(path string, fh uint64) (errc int) {
|
||||
func (fs *FS) Release(path string, fh uint64) int {
|
||||
if err := fs.fh.Remove(fh); err != nil {
|
||||
log.Error().Err(err).Str("path", path).Msg("error getting holder when releasing file")
|
||||
return -fuse.EIO
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue