Skip to contentSkip to conversation

lost idr_destroy for ls_recover_idr in release_lockspace() ?

Cluster-devel Vasily Averin 2 participants 2 messages Nov 15, 2018

lore
Share & tools
lore
#0 lore raw

Dear David,
I've noticed that release_lockspace() lacks idr_destroy(&ls->ls_recover_idr), though it is called on rollback in new_lockspace().

It seems for me it is not critical, and should not lead to any leaks, however could you please re-check it?

Thank you,
Vasily Averin

#1 lore raw
Quoted 9 lines · Vasily Averin

Dear David,
I've noticed that release_lockspace() lacks idr_destroy(&ls->ls_recover_idr), though it is called on rollback in new_lockspace().

It seems for me it is not critical, and should not lead to any leaks, however could you please re-check it?

Thank you,
Vasily Averin

Thanks for the patches, I've pushed them to linux-dlm next, and added another for the missing idr_destroy.
Dave