Messages in this thread | | | Date | Mon, 22 Mar 1999 21:32:12 -0800 | From | David Miller <> | Subject | Re: Doubt on Linux |
| |
On each open of your device do:
MOD_INC_USE_COUNT
On each close of your device do:
MOD_DEC_USE_COUNT
Crashes will disappear, because rmmod will fail while the device is in use.
Later, David S. Miller davem@redhat.com
- 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/
| |