]> git.ipfire.org Git - thirdparty/qemu.git/commit
nbd/server: fix NBD_CMD_CACHE
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Wed, 3 Oct 2018 14:47:38 +0000 (17:47 +0300)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 27 Mar 2019 06:05:11 +0000 (01:05 -0500)
commit92c7eec10926eaff161a91624f399b4afe6cb273
treeb2275d80e1c0e5921a5a7d50a02d0a77ba53dfa9
parent6abeb6d85e1d6f225178b1d18a306bb75d9e7f92
nbd/server: fix NBD_CMD_CACHE

We should not go to structured-read branch on CACHE command, fix that.

Bug introduced in bc37b06a5cde24 "nbd/server: introduce NBD_CMD_CACHE"
with the whole feature and affects 3.0.0 release.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
CC: qemu-stable@nongnu.org
Message-Id: <20181003144738.70670-1-vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[eblake: commit message typo fix]
Signed-off-by: Eric Blake <eblake@redhat.com>
(cherry picked from commit 2f454defc23e1be78f2a96bad2877ce7829f61b4)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
nbd/server.c