mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Remove debug log left behind by mistake.
PiperOrigin-RevId: 311808460
This commit is contained in:
committed by
gVisor bot
parent
c5a939d76c
commit
679fd2527b
@@ -16,7 +16,6 @@ package linux
|
||||
|
||||
import (
|
||||
"gvisor.dev/gvisor/pkg/abi/linux"
|
||||
"gvisor.dev/gvisor/pkg/log"
|
||||
"gvisor.dev/gvisor/pkg/sentry/arch"
|
||||
"gvisor.dev/gvisor/pkg/sentry/fs"
|
||||
"gvisor.dev/gvisor/pkg/sentry/kernel"
|
||||
@@ -26,7 +25,6 @@ import (
|
||||
|
||||
// doSplice implements a blocking splice operation.
|
||||
func doSplice(t *kernel.Task, outFile, inFile *fs.File, opts fs.SpliceOpts, nonBlocking bool) (int64, error) {
|
||||
log.Infof("NLAC: doSplice opts: %+v", opts)
|
||||
if opts.Length < 0 || opts.SrcStart < 0 || opts.DstStart < 0 || (opts.SrcStart+opts.Length < 0) {
|
||||
return 0, syserror.EINVAL
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user