diff options
| author | Vivek Goyal <vgoyal@redhat.com> | 2021-09-30 11:30:28 -0400 |
|---|---|---|
| committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2021-10-25 18:58:20 +0100 |
| commit | c68276556a1e6e035f9a27d0dbb2f87b349f3aea (patch) | |
| tree | a002db6ffe4a3cddfbad12734fbf7c260e2c2112 /fsdev/p9array.h | |
| parent | a88abc6f841ea7f0a9c57d69ccf133e2c7d12348 (diff) | |
| download | focaccia-qemu-c68276556a1e6e035f9a27d0dbb2f87b349f3aea.tar.gz focaccia-qemu-c68276556a1e6e035f9a27d0dbb2f87b349f3aea.zip | |
virtiofsd: Add a helper to send element on virtqueue
We have open coded logic to take locks and push element on virtqueue at three places. Add a helper and use it everywhere. Code is easier to read and less number of lines of code. Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Message-Id: <20210930153037.1194279-5-vgoyal@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'fsdev/p9array.h')
0 files changed, 0 insertions, 0 deletions