Files
erofs-linux/drivers/md
Jesper Juhl 851a8a7fd4 dm: fix memory leak in dm_create_persistent() when starting metadata update thread fails
If, in dm_create_persistent(), the call to create_singlethread_workqueue()
fails then we'll return without freeing the memory allocated to 'ps', thus
leaking sizeof(struct pstore) bytes.  This patch fixes the leak.

Signed-off-by: Jesper Juhl <[email protected]
Acked-by: Alasdair G Kergon <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2007-07-18 08:38:22 -07:00
..
2007-07-12 15:01:08 -07:00
2007-07-12 15:01:08 -07:00
2007-07-12 15:01:08 -07:00
…
2007-07-12 15:01:08 -07:00
…
…
…
2007-07-12 15:01:23 -07:00
2007-07-12 15:01:08 -07:00
2007-07-12 15:01:08 -07:00
2007-07-12 15:01:08 -07:00
2007-07-12 15:01:08 -07:00
…
2007-07-12 15:01:08 -07:00
…
2007-07-17 10:23:15 -07:00
2007-07-12 15:01:08 -07:00
…
…
…
…