|
@ -185,8 +185,10 @@ func (fh *FileHandle) Release(ctx context.Context, req *fuse.ReleaseRequest) err |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// stop the goroutine
|
|
|
// stop the goroutine
|
|
|
|
|
|
if !fh.dirtyPages.chunkSaveErrChanClosed { |
|
|
fh.dirtyPages.chunkSaveErrChanClosed = true |
|
|
fh.dirtyPages.chunkSaveErrChanClosed = true |
|
|
close(fh.dirtyPages.chunkSaveErrChan) |
|
|
close(fh.dirtyPages.chunkSaveErrChan) |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
return nil |
|
|
return nil |
|
|
} |
|
|
} |
|
|