summaryrefslogtreecommitdiff
path: root/fs/fuse
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2019-09-04 08:36:33 -0400
committerMiklos Szeredi <mszeredi@redhat.com>2019-09-12 14:59:41 +0200
commit501ae8ecae2ba5122774dee4445003505a7fd01b (patch)
treeefc4bec9cf41a6994df88f5ed0e1acbd65b35692 /fs/fuse
parent15c8e72e88e0b707ffefd524ca33f28cdb3db487 (diff)
fuse: reserve byteswapped init opcodes
virtio fs tunnels fuse over a virtio channel. One issue is two sides might be speaking different endian-ness. To detects this, host side looks at the opcode value in the FUSE_INIT command. Works fine at the moment but might fail if a future version of fuse will use such an opcode for initialization. Let's reserve this opcode so we remember and don't do this. Same for CUSE_INIT. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/fuse')
0 files changed, 0 insertions, 0 deletions