Commit bb6ec576 authored by Michael S. Tsirkin's avatar Michael S. Tsirkin Committed by Rusty Russell

virtio_blk: coding style fixes

Most of our code has
struct foo {
}

Fix two instances where blk is inconsistent.
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 25e65e4e
...@@ -28,8 +28,7 @@ struct virtio_blk_vq { ...@@ -28,8 +28,7 @@ struct virtio_blk_vq {
char name[VQ_NAME_LEN]; char name[VQ_NAME_LEN];
} ____cacheline_aligned_in_smp; } ____cacheline_aligned_in_smp;
struct virtio_blk struct virtio_blk {
{
struct virtio_device *vdev; struct virtio_device *vdev;
/* The disk structure for the kernel. */ /* The disk structure for the kernel. */
...@@ -52,8 +51,7 @@ struct virtio_blk ...@@ -52,8 +51,7 @@ struct virtio_blk
struct virtio_blk_vq *vqs; struct virtio_blk_vq *vqs;
}; };
struct virtblk_req struct virtblk_req {
{
struct request *req; struct request *req;
struct virtio_blk_outhdr out_hdr; struct virtio_blk_outhdr out_hdr;
struct virtio_scsi_inhdr in_hdr; struct virtio_scsi_inhdr in_hdr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment