Update dependencies. ()

Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
This commit is contained in:
Antonio Navarro Perez 2021-04-25 11:00:27 +02:00 committed by GitHub
parent 62e4980e4c
commit b35f303981
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 182 additions and 126 deletions

View file

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