lost idr_destroy for ls_recover_idr in release_lockspace() ?
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
Quoted 9 lines · Vasily Averin
Dear David,
I've noticed thatrelease_lockspace()lacksidr_destroy(&ls->ls_recover_idr), though it is called on rollback innew_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