[vfs] kernfs: Implement remaining InodeAttr fields.

Added the following fields in kernfs.InodeAttr:
- blockSize
- atime
- mtime
- ctime

Also resolved all TODOs for #1193.

Fixes #1193

PiperOrigin-RevId: 338714527
This commit is contained in:
Ayush Ranjan
2020-10-23 11:43:32 -07:00
committed by gVisor bot
parent f73fad834f
commit 6ee3520b61
31 changed files with 303 additions and 266 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ func NewVFS2(t *kernel.Task, family int, skType linux.SockType, protocol int, qu
}
mnt := t.Kernel().SocketMount()
d := sockfs.NewDentry(t.Credentials(), mnt)
d := sockfs.NewDentry(t, mnt)
defer d.DecRef(t)
s := &SocketVFS2{