NeilBrown
0909dc448c
md: tidy up error paths in md_alloc
...
As the recent bug in md_alloc showed, having a single exit path for
unlocking and putting is a good idea. So restructure md_alloc to have
a single mutex_unlock and mddev_put, and use gotos where necessary.
Found-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
2009-07-01 12:27:21 +10:00
..
2009-06-26 00:23:42 -04:00
2009-06-23 01:54:30 -04:00
2009-06-29 09:33:26 -07:00
2009-06-24 18:34:40 +01:00
2009-06-26 13:06:41 +02:00
2009-06-22 21:29:52 -07:00
2009-06-19 16:46:03 -07:00
2009-06-25 17:04:37 -07:00
2009-06-25 11:22:12 -07:00
2009-06-29 19:31:41 -07:00
2009-06-22 21:29:52 -07:00
2009-06-23 10:38:47 -07:00
2009-06-20 10:17:02 -07:00
2009-06-23 20:21:39 +01:00
2009-06-26 14:37:25 +10:00
2009-07-01 12:27:21 +10:00
2009-06-23 03:29:57 -03:00
2009-06-22 08:54:14 -05:00
2009-06-20 18:39:43 +00:00
2009-06-21 21:01:00 +02:00
2009-06-22 16:56:22 -07:00
2009-06-28 17:34:25 -07:00
2009-06-22 11:29:00 -07:00
2009-06-26 11:26:27 +01:00
2009-06-29 09:40:38 -07:00
Merge branches 'acerhdf', 'acpi-pci-bind', 'bjorn-pci-root', 'bugzilla-12904', 'bugzilla-13121', 'bugzilla-13396', 'bugzilla-13533', 'bugzilla-13612', 'c3_lock', 'hid-cleanups', 'misc-2.6.31', 'pdc-leak-fix', 'pnpacpi', 'power_nocheck', 'thinkpad_acpi', 'video' and 'wmi' into release
2009-06-24 01:19:50 -04:00
2009-06-19 16:46:05 -07:00
2009-06-22 12:08:23 +02:00
2009-06-21 12:11:43 -05:00
2009-06-24 09:55:50 -07:00
2009-06-19 16:46:05 -07:00
2009-06-24 18:34:41 +01:00
2009-06-25 11:24:26 -07:00
2009-06-29 09:41:12 -07:00
2009-06-24 14:35:57 -07:00
2009-06-26 16:55:37 +10:00