[PATCH 5.1 108/122] dm ioctl: fix hang in early create error condition

2019-05-23 Thread Greg Kroah-Hartman
From: Helen Koike commit 0f41fcf78849c902ddca564f99a8e23ccfc80333 upstream. The dm_early_create() function (which deals with "dm-mod.create=" kernel command line option) calls dm_hash_insert() who gets an extra reference to the md object. In case of failure, this reference wasn't being released

Re: dm ioctl: fix hang in early create error condition

2019-05-15 Thread Mike Snitzer
On Wed, May 15 2019 at 12:12pm -0400, Helen Koike wrote: > Hi, > > On 5/13/19 10:37 PM, Mike Snitzer wrote: > > On Mon, May 13 2019 at 3:25P -0400, > > Helen Koike wrote: > > > >> The dm_early_create() function (which deals with "dm-mod.create=" kernel > >> command line option) calls dm_hash_