Re: Superblock bug?

Bill Hawes (whawes@star.net)
Sat, 20 Sep 1997 17:05:25 -0400


Andrew E. Mileski wrote:
>
> Using a formatted floppy with no filesystem on it,
> mount -t any_fs_type /dev/fd0 /mnt/fd0
> causes the kernel to segfault [in the device driver it seems]
> if the filesystem's read_super() returns NULL [sb error].
>
> Noticed while developing UDF filesystem, on an otherwise
> clean 2.1.56 kernel. So. is it the kernel's fault or mine?

Hmm, sounds interesting. I'll check it out. The kernel should be able
to handle a NULL return from read_super().

Does it matter whether the device driver is a module or in the kernel?

Regards,
Bill