qemu-e2k/nbd
Kevin Wolf 3dff24f2df nbd: Fix order of bdrv_set_perm and bdrv_invalidate_cache
The "inactive" state of BDS affects whether the permissions can be
granted, we must call bdrv_invalidate_cache before bdrv_set_perm to
support "-incoming defer" case.

Reported-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Message-Id: <20170815130740.31229-3-famz@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
2017-08-15 10:03:27 -05:00
..
client.c nbd: fix memory leak in nbd_opt_go() 2017-07-28 11:58:20 -05:00
common.c nbd: Fix trace message for disconnect 2017-08-15 10:03:27 -05:00
Makefile.objs nbd: Split nbd.c 2016-01-15 18:58:02 +01:00
nbd-internal.h nbd: Fix server reply to NBD_OPT_EXPORT_NAME of older clients 2017-07-17 17:06:46 -05:00
server.c nbd: Fix order of bdrv_set_perm and bdrv_invalidate_cache 2017-08-15 10:03:27 -05:00
trace-events trace-events: fix code style: print 0x before hex numbers 2017-08-01 12:13:07 +01:00