commit | a1a15ac5f9aeee521c048a88fc1aec848e623de7 | [log] [tgz] |
---|---|---|
author | Kris Shannon <kris@shannon.id.au> | Mon Mar 02 19:47:37 2009 +1100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Thu Mar 05 12:04:57 2009 +0100 |
tree | 964c1fe343bbc8edc24003df15dd475f1255e7e5 | |
parent | 559595a985e106d2fa9f0c79b7f5805453fed593 [diff] |
Fix kernel NULL pointer dereference in xen-blkfront When booting Xen Dom0 on a pre-release 3.2.1 hypervisor the system Oopses on a "Unable to handle kernel NULL pointer dereference" in xenwatch. From the backtrace it looks like backend_changed is calling bdget_disk with a NULL pointer. Checking for NULL and returning ENODEV instead allows the kernel to boot.