lotus/extern/sector-storage/fsutil/dealloc_other.go

18 lines
255 B
Go
Raw Normal View History

2020-07-03 19:52:31 +00:00
// +build !linux
package fsutil
import (
"os"
logging "github.com/ipfs/go-log/v2"
)
var log = logging.Logger("fsutil")
func Deallocate(file *os.File, offset int64, length int64) error {
log.Warnf("deallocating space not supported")
2020-07-09 17:29:05 +00:00
return nil
2020-07-03 19:52:31 +00:00
}