> Allocate pool and htable after lock, waitqueue and deadline
> timer init so that pb_destroy() is safe on every error path
> of pb_ctr(). Otherwise a failed allocation makes pb_destroy()
> call timer_delete_sync_try() on a zeroed timer struct. This
> happens to work on release kernels, but with
> CONFIG_DEBUG_OBJECTS_TIMERS=y debug_assert_init() reports the
> uninitialized timer with an ODEBUG warning.
> 
> https://virtuozzo.atlassian.net/browse/VSTOR-152912
> 
> Feature: dm-backup: push backup target driver
> Signed-off-by: Andrey Zhadchenko <[email protected]>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review ยท 
https://sashiko.vzint.dev/#/patchset/[email protected]?part=1


_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to