> > - if (!tty)
> > - return;
> > -
> > /* inuse_filps is protected by the single kernel lock */
> > lock_kernel();
[ move stuff to after the lock_kernel() ]
> This part is a no-op...
Mmmm Doh, local variable indeed ;/
I guess it's time to fix the caller of this function then,
since something strange is going on here:
http://bugme.osdl.org/show_bug.cgi?id=54
Rik
-- Bravely reimplemented by the knights who say "NIH". http://www.surriel.com/ http://guru.conectiva.com/ Current spamtrap: <a href=mailto:"october@surriel.com">october@surriel.com</a> - 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/