xen-pciback: First reset, then free.
We were doing the operations of freeing and reset in the wrong order. Granted nothing broke because the reset functions just set bar->which = 0. But nonethless this was incorrect. Signed-off-by: NKonrad Rzeszutek Wilk <konrad.wilk@oracle.com> Reviewed-by: NJan Beulich <jbeulich@suse.com> Reviewed-by: NDavid Vrabel <david.vrabel@citrix.com>
Showing
想要评论请 注册 或 登录