lock reader, write and user counts with mutex

This commit is contained in:
internal
2023-11-03 11:21:28 +01:00
parent 05718a5965
commit 948234d787
2 changed files with 21 additions and 7 deletions

View File

@@ -182,6 +182,7 @@ struct dvb_device {
int readers;
int writers;
int users;
struct mutex lock;
wait_queue_head_t wait_queue;
/* don't really need those !? -- FIXME: use video_usercopy */