Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

virtio_fs: correct tags for config space fields

Since fs is a modern-only device,
tag config space fields as having little endian-ness.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>

+1 -1
+1 -1
include/uapi/linux/virtio_fs.h
··· 13 13 __u8 tag[36]; 14 14 15 15 /* Number of request queues */ 16 - __u32 num_request_queues; 16 + __le32 num_request_queues; 17 17 } __attribute__((packed)); 18 18 19 19 #endif /* _UAPI_LINUX_VIRTIO_FS_H */