summaryrefslogtreecommitdiffhomepage
path: root/runsc/fsgofer
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-09-17 19:14:53 +0000
committergVisor bot <gvisor-bot@google.com>2020-09-17 19:14:53 +0000
commit63e009e612887c2cc2143aefecdf430acf19562e (patch)
tree5cb0c83e563c0b90a46d57f12102474895b7b5ca /runsc/fsgofer
parent5ecebda34332d0368794efe3f4e30e4fbbe523a0 (diff)
parentd796b100ecfe529e350575655b972400c52390d7 (diff)
Merge release-20200907.0-125-gd796b100e (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