diff options
| author | Ingo Molnar <[email protected]> | 2006-03-21 06:35:41 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2006-03-21 06:35:41 +0000 |
| commit | 57b47a53ec4a67691ba32cff5768e8d78fa6c67f (patch) | |
| tree | d735ae4734f7b386eefa508a0629715f45808d1d /include/net/af_unix.h | |
| parent | [ATM] suni: cast arg properly in SONET_SETFRAMING (diff) | |
| download | kernel-57b47a53ec4a67691ba32cff5768e8d78fa6c67f.tar.gz kernel-57b47a53ec4a67691ba32cff5768e8d78fa6c67f.zip | |
[NET]: sem2mutex part 2
Semaphore to mutex conversion.
The conversion was generated via scripts, and the result was validated
automatically via a script as well.
Signed-off-by: Ingo Molnar <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/net/af_unix.h')
| -rw-r--r-- | include/net/af_unix.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/af_unix.h b/include/net/af_unix.h index bfc1779fc753..427dac94bc7e 100644 --- a/include/net/af_unix.h +++ b/include/net/af_unix.h @@ -4,6 +4,7 @@ #include <linux/config.h> #include <linux/socket.h> #include <linux/un.h> +#include <linux/mutex.h> #include <net/sock.h> extern void unix_inflight(struct file *fp); @@ -71,7 +72,7 @@ struct unix_sock { struct unix_address *addr; struct dentry *dentry; struct vfsmount *mnt; - struct semaphore readsem; + struct mutex readlock; struct sock *peer; struct sock *other; struct sock *gc_tree; |
