From 6fccc185609e37b0e3346f8df91bdcb37bc990db Mon Sep 17 00:00:00 2001 From: Ayush Ranjan Date: Tue, 21 Sep 2021 14:07:09 -0700 Subject: [lisa] Implement lisafs protocol methods in VFS2 gofer client and fsgofer. Introduces RPC methods in lisafs. Makes that gofer client use lisafs RPCs instead of p9 when lisafs is enabled. Implements the handlers for those methods in fsgofer. Fixes #5465 PiperOrigin-RevId: 398080310 --- pkg/abi/linux/file.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pkg/abi/linux') diff --git a/pkg/abi/linux/file.go b/pkg/abi/linux/file.go index 1e23850a9..67646f837 100644 --- a/pkg/abi/linux/file.go +++ b/pkg/abi/linux/file.go @@ -242,7 +242,7 @@ const ( // Statx represents struct statx. // -// +marshal +// +marshal slice:StatxSlice type Statx struct { Mask uint32 Blksize uint32 @@ -270,6 +270,8 @@ type Statx struct { var SizeOfStatx = (*Statx)(nil).SizeBytes() // FileMode represents a mode_t. +// +// +marshal type FileMode uint16 // Permissions returns just the permission bits. -- cgit v1.2.3