commit | 69babf05cbe909a9a520b39772655f88b407f257 | [log] [tgz] |
---|---|---|
author | Lars Ellenberg <lars.ellenberg@linbit.com> | Wed Oct 23 10:59:15 2013 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Nov 08 09:10:28 2013 -0700 |
tree | be809717b2f78d06091eef06becc1c502646730b | |
parent | 7badfb1c34f85e2b68252e4596d96e9b76f2b0ac [diff] |
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 <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>