Protect all accesses to the device node with a mutex.
commit0b726122db953d8b0c0771e5edf4b4fcfe4b245e
authorBob Copeland <me@bobcopeland.com>
Sun, 13 Jan 2008 00:00:40 +0000 (12 19:00 -0500)
committerBob Copeland <me@bobcopeland.com>
Sun, 13 Jan 2008 00:00:40 +0000 (12 19:00 -0500)
treef262635fbbd78646d7e3afb2ac0cd4ace6dcb338
parent53e581f2684a483cbd414cc1d098eab3a839709f
Protect all accesses to the device node with a mutex.

This change puts a mutex around accesses of info->dev so that
multithreaded accesses won't see changes to the file pointer.
main.c
omfs.c
omfs.h