summaryrefslogtreecommitdiffhomepage
path: root/runsc/fsgofer
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-09-17 19:04:47 +0000
committergVisor bot <gvisor-bot@google.com>2020-09-17 19:04:47 +0000
commitc346af254716333f3a5820a720a195c770ae2204 (patch)
tree121bf34cd60aa642396c74eb9e468bacdd1d7ebf /runsc/fsgofer
parent992a520782f3a6ad7bb813f91b5a6737c0a2418d (diff)
parentda07e38f7c986dca568466beea8a0b7db60f09db (diff)
Merge release-20200907.0-124-gda07e38f7 (automated)
Diffstat (limited to 'runsc/fsgofer')
-rw-r--r--runsc/fsgofer/fsgofer.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/runsc/fsgofer/fsgofer.go b/runsc/fsgofer/fsgofer.go
index 4268d97a1..0b628c8ce 100644
--- a/runsc/fsgofer/fsgofer.go
+++ b/runsc/fsgofer/fsgofer.go
@@ -1181,9 +1181,6 @@ func extractErrno(err error) unix.Errno {
func (l *localFile) checkROMount() error {
if conf := l.attachPoint.conf; conf.ROMount {
- if conf.PanicOnWrite {
- panic("attempt to write to RO mount")
- }
return unix.EROFS
}
return nil