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 <jesper.juhl@gmail.com
Acked-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-18 08:38:22 -07:00
..
2005-09-17 11:49:58 -07:00
2006-01-01 22:21:50 +01:00
2007-07-17 10:23:15 -07:00
2007-07-12 15:01:08 -07:00
2005-04-16 15:20:36 -07:00
2007-07-12 15:01:08 -07:00
2007-07-12 15:01:08 -07:00
2006-12-08 08:28:40 -08:00
2007-07-18 08:38:22 -07:00
2006-03-24 18:36:27 +01:00
2007-05-09 12:30:46 -07:00
2007-07-12 15:01:08 -07:00
2007-05-09 12:30:47 -07:00
2007-02-12 09:48:45 -08:00
2006-12-08 08:29:09 -08:00
2007-05-09 12:30:48 -07:00
2006-12-08 08:29:09 -08:00
2007-07-12 15:01:23 -07:00
2007-07-12 15:01:08 -07:00
2006-12-08 08:28:40 -08:00
2006-03-26 18:21:58 +02:00
2006-12-08 08:28:40 -08: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
2006-12-08 08:29:09 -08:00
2007-05-09 12:30:47 -07:00
2006-06-26 09:58:36 -07:00
2006-12-08 08:29:09 -08:00
2007-07-17 10:23:03 -07:00
2007-07-12 15:01:08 -07:00
2006-12-13 09:05:48 -08:00
2007-07-17 10:23:15 -07:00
2007-07-12 15:01:08 -07:00
2005-04-16 15:20:36 -07:00
2007-05-23 20:14:14 -07:00
2007-07-13 10:52:27 -07:00
2007-07-17 10:23:15 -07:00
2005-04-16 15:20:36 -07:00
2006-10-28 11:30:51 -07:00
2007-05-23 20:14:14 -07:00
2007-07-17 10:23:15 -07:00
2007-07-13 08:06:18 -07:00
2005-09-17 11:49:58 -07:00
2006-06-23 07:43:08 -07:00
2005-09-17 11:49:58 -07:00
2005-04-16 15:20:36 -07:00
2007-03-01 14:53:36 -08:00
2005-04-16 15:20:36 -07:00
2007-03-01 14:53:36 -08:00
2007-03-01 14:53:36 -08:00
2007-03-01 14:53:36 -08:00
2007-07-17 10:23:15 -07:00
2005-04-16 15:20:36 -07:00