bdev

From: Andries.Brouwer@cwi.nl
Date: Sat Oct 14 2000 - 18:35:14 EST


> 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/



This archive was generated by hypermail 2b29 : Sun Oct 15 2000 - 21:00:27 EST