nsfs: mark inodes as anonymous

They don't have parents.

Reported-by: syzbot+fcc69453d85379c62d8d@syzkaller.appspotmail.com
PiperOrigin-RevId: 558534816
This commit is contained in:
Andrei Vagin
2023-08-20 02:29:13 -07:00
committed by gVisor bot
parent 51f60d6d14
commit 755c1f242c
+1 -1
View File
@@ -79,7 +79,7 @@ func (fs *filesystem) MountOptions() string {
// +stateify savable
type Inode struct {
kernfs.InodeAttrs
kernfs.InodeNotAnonymous
kernfs.InodeAnonymous
kernfs.InodeNotDirectory
kernfs.InodeNotSymlink
kernfs.InodeWatches