This also looks a bit wrong:
> > + if (vt) {
> > + /*
> > + * If we raced with con_close(), `vt' may be null.
> > + * Hence this bandaid. - akpm
> > + */
> > + acquire_console_sem();
> > + set_cursor(vt->vc_num);
> > + release_console_sem();
> > + }
Maybe should be:
acquire_console_sem();
if (vt) set_cursor(vt->vc_num);
release_console_sem();
??
-- Taral <taral@taral.net> This message is digitally signed. Please PGP encrypt mail to me. "Any technology, no matter how primitive, is magic to those who don't understand it." -- Florence Ambrose - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/