Namjae Jeon 1b1baff6e5 UDF: Fix a null pointer dereference in udf_sb_free_partitions
This patch fixes a regression caused by commit bff943af6fe "udf: Fix memory
leak when mounting" due to which it was triggering a kernel null point
dereference in case of interrupted mount OR when allocating memory to
sbi->s_partmaps failed in function udf_sb_alloc_partition_maps.

Reported-and-tested-by: James Hogan <james@albanarts.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Ashish Sangwan <a.sangwan@samsung.com>
Signed-off-by: Jan Kara <jack@suse.cz>
2013-01-14 22:53:47 +01:00
..
2012-02-29 21:53:47 +01:00
2011-01-06 17:03:57 +01:00
2011-10-31 23:43:58 +01:00
2012-09-06 16:20:39 +02:00
2011-10-31 23:43:58 +01:00
2009-06-11 21:36:13 -04:00
2011-10-10 19:29:01 +02:00
2012-07-09 12:03:11 +02:00
2011-10-31 23:43:52 +01:00
2011-10-31 23:43:52 +01:00