diff options
author | Frank Munzert <munzert@de.ibm.com> | 2008-04-17 07:46:06 +0200 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-04-17 07:46:59 +0200 |
commit | a695f16729e00995fe72baf0e8bee4bf9c232ae0 (patch) | |
tree | 2fddf1722972564e33eedbedf9010bdd9735a74d /drivers/s390/char/fs3270.c | |
parent | 92bf435f383a6193d59c687ce87ccca3529c68a1 (diff) |
[S390] vmur: Use wait queue instead of mutex to serialize open
If user space opens a unit record device node then vmur is leaving the kernel
with lock open_mutex still held to prevent other processes from opening the
device simultaneously. This causes lockdep to complain about a lock held when
returning to user space.
Now the mutex is replaced by a wait queue to serialize device open.
Signed-off-by: Frank Munzert <munzert@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'drivers/s390/char/fs3270.c')
0 files changed, 0 insertions, 0 deletions