From: Namjae Jeon Date: Mon, 14 Jan 2013 21:53:47 +0000 (+0100) Subject: UDF: Fix a null pointer dereference in udf_sb_free_partitions X-Git-Tag: v3.8-rc4~10^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b1baff6e50df855238ce5e6c0e7dbb8a261fb32;p=pandora-kernel.git 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 Signed-off-by: Namjae Jeon Signed-off-by: Ashish Sangwan Signed-off-by: Jan Kara --- Reading git-diff-tree failed