summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsimpl/fuse/request_response.go
diff options
context:
space:
mode:
authorJinmou Li <jinmli@google.com>2020-09-02 13:50:31 -0700
committerAndrei Vagin <avagin@gmail.com>2020-09-16 12:19:30 -0700
commite91c026672b9022d5554e20202648d322da0fe1d (patch)
treeba06b6ed1adb6699ed1ed1e81bad72823d1e1027 /pkg/sentry/fsimpl/fuse/request_response.go
parent1d8029022e8ca45e177e36405506d42874f125e9 (diff)
Downgrade FUSE minor version support and clarify comments
Diffstat (limited to 'pkg/sentry/fsimpl/fuse/request_response.go')
-rw-r--r--pkg/sentry/fsimpl/fuse/request_response.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/pkg/sentry/fsimpl/fuse/request_response.go b/pkg/sentry/fsimpl/fuse/request_response.go
index ae71b5e28..a69b21221 100644
--- a/pkg/sentry/fsimpl/fuse/request_response.go
+++ b/pkg/sentry/fsimpl/fuse/request_response.go
@@ -65,11 +65,6 @@ func (r *fuseInitRes) UnmarshalBytes(src []byte) {
out.MaxPages = uint16(usermem.ByteOrder.Uint16(src[:2]))
src = src[2:]
}
- // Introduced in FUSE kernel version 7.31.
- if len(src) >= 2 {
- out.MapAlignment = uint16(usermem.ByteOrder.Uint16(src[:2]))
- src = src[2:]
- }
}
// SizeBytes is the size of the payload of the FUSE_INIT response.