Messages in this thread | | | Date | Sun, 15 Oct 2000 01:35:14 +0200 (MET DST) | From | Andries.Brouwer@cwi ... | Subject | bdev |
| |
> Yes. If you see how to do it - patches are welcome.
I think there are simple solutions. Will come back to this later. For now something else.
The routine bdget() in block_dev.c may return NULL in case alloc_bdev() fails. Thus, inode->i_bdev may be NULL. Nevertheless, it is dereferenced all over the place without testing first.
Comments?
Andries - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |