mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 00:21:17 +00:00
[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 <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
6613f82dd2
commit
57b47a53ec
13 changed files with 107 additions and 99 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue