From 4cba3904f414775371f86571a549454aafad19bf Mon Sep 17 00:00:00 2001 From: Adin Scannell Date: Fri, 11 Dec 2020 12:04:46 -0800 Subject: Remove existing nogo exceptions. PiperOrigin-RevId: 347047550 --- pkg/sentry/fs/gofer/attr.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'pkg/sentry/fs/gofer') diff --git a/pkg/sentry/fs/gofer/attr.go b/pkg/sentry/fs/gofer/attr.go index d481baf77..e5579095b 100644 --- a/pkg/sentry/fs/gofer/attr.go +++ b/pkg/sentry/fs/gofer/attr.go @@ -117,8 +117,6 @@ func ntype(pattr p9.Attr) fs.InodeType { return fs.BlockDevice case pattr.Mode.IsSocket(): return fs.Socket - case pattr.Mode.IsRegular(): - fallthrough default: return fs.RegularFile } -- cgit v1.2.3