> The change I submitted was the simplest set of changes which fix the
> problem, without completely revamping how the module in-use counter
> works for the serial driver.
You're probably right, though I still believe adding MOD_DEC_USE_COUNT
after:
if (!info || serial_paranoia_check(info, tty->device, "rs_close"))
and removing all MOD_DEC_USE_COUNTs from rs_open would result in a
somewhat cleaner code.
Yes, but there's also the hangup code path which also needs to be
checked carefully. I decided it was too much effort; post 2.2 I really
want to revamp how hangup is handled anyway.
- Ted
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/