From: Lars Ellenberg Date: Wed, 23 Oct 2013 08:59:15 +0000 (+0200) Subject: drbd: fix NULL pointer deref in module init error path X-Git-Tag: v3.13-rc1~100^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69babf05cbe909a9a520b39772655f88b407f257;p=pandora-kernel.git drbd: fix NULL pointer deref in module init error path If we want to iterate over the (as of yet still empty) list in the cleanup path, we need to initialize the list before the first goto fail. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg Signed-off-by: Jens Axboe --- Reading git-diff-tree failed