Re: [PATCH v4 4/5] blockdev: honor bdrv_try_set_aio_context() context requirements

2019-11-27 Thread Max Reitz
On 21.11.19 14:57, Sergio Lopez wrote: > bdrv_try_set_aio_context() requires that the old context is held, and > the new context is not held. Fix all the occurrences where it's not > done this way. > > Suggested-by: Max Reitz > Signed-off-by: Sergio Lopez > --- > blockdev.c | 67 +++

[PATCH v4 4/5] blockdev: honor bdrv_try_set_aio_context() context requirements

2019-11-21 Thread Sergio Lopez
bdrv_try_set_aio_context() requires that the old context is held, and the new context is not held. Fix all the occurrences where it's not done this way. Suggested-by: Max Reitz Signed-off-by: Sergio Lopez --- blockdev.c | 67 ++ 1 file changed