The kernel already locks during open() and close() (see fs/device.c), so doing it ourselves only induces deadlocks. Removing all locking code in there
Authored by: rbultje 2003-05-21
Parent: [r1853]
Child: [r1855]