Re: [PATCH v2] qcow2: Move error check of local_err near its assignment

2019-12-19 Thread Kevin Wolf
Am 18.12.2019 um 12:53 hat Tuguoyi geschrieben: > The local_err check outside of the if block was necessary > when it was introduced in commit d1258dd0c87 because it needed to be > executed even if qcow2_load_autoloading_dirty_bitmaps() returned false. > > After some modifications that all require

[PATCH v2] qcow2: Move error check of local_err near its assignment

2019-12-18 Thread Tuguoyi
The local_err check outside of the if block was necessary when it was introduced in commit d1258dd0c87 because it needed to be executed even if qcow2_load_autoloading_dirty_bitmaps() returned false. After some modifications that all required the error check to remain where it is, commit 9c98f145df