Re: 2.1.50 and initrd

Bill Hawes (whawes@star.net)
Sat, 16 Aug 1997 07:48:49 -0400


Florian La Roche wrote:
> your patch works fine. I can boot now 2.1.50 with all drivers as loadable
> modules. Though there might still be some quirks, as your diagnostic warning
> message is not triggered with my setup.

Hi Florian,
Glad to hear that your system is working now, but I have to admit I'm
puzzled again. If the message didn't get triggered, then the dentry in
the variable old_root is on the old root device, and with a d_count of
17 wouldn't care about a few extra dputs :-)

But from the behavior it's clear that the dentry sb->s_root on
old_root_device had a d_count of 1 and wasn't mounted on anything. So
after this is dput(), d_umount() has succeeded, but there still should
be a dentry with d_count 16 on the same device. This means Linus's
"self-destruct in 5 seconds" message should appear ...

> You forgot a closing ')':
> kdevname(old_root->d_inode->i_dev));

Sorry about the typu ... I'll include an extra one in my next patch :-)

Regards,
Bill