2.1.48 - Bug in d_alloc_root()

Andrew E. Mileski (aem@netcom.ca)
Fri, 8 Aug 1997 23:11:08 -0400 (EDT)


Don't know if anybody caught this yet...

d_alloc_root() calls d_alloc(), but doesn't check the returned
dentry which may be NULL. If this is fatal, then a printk should
be used instead of just letting the kernel fault without explanation.

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