Re: Superblock bug?

Andrew E. Mileski (aem@netcom.ca)
Sat, 20 Sep 1997 23:16:23 -0400 (EDT)


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

Hmmm...don't know. I was using modules, as they are easier to
develop with. I'll look into it.

--
Andrew E. Mileski   mailto:aem@netcom.ca