Re: [Qemu-block] [PATCH for-2.8] qtail: clean up direct access to tqe_prev field

2016-08-01 Thread Paolo Bonzini
On 25/07/2016 14:47, Igor Mammedov wrote: > instead of accessing tqe_prev field dircetly outside > of queue.h use macros to check if element is in list > and make sure that afer element is removed from list > tqe_prev field could be used to do the same check. > > Signed-off-by: Igor Mammedov >

[Qemu-block] [PATCH for-2.8] qtail: clean up direct access to tqe_prev field

2016-07-25 Thread Igor Mammedov
instead of accessing tqe_prev field dircetly outside of queue.h use macros to check if element is in list and make sure that afer element is removed from list tqe_prev field could be used to do the same check. Signed-off-by: Igor Mammedov --- The patch is split from as cleanup is not urgent [PA