X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fnet%2Faf_unix.h;h=427dac94bc7e38a3e63fb008fa6bb4b12cb04fcf;hb=932355797530f5bd4e1355a2c384e9f3ccc3dcbc;hp=bfc1779fc753fcf0c1a13a086bf5fc2b7c999b65;hpb=5c3eee79128c372a81a83665be2332a000944280;p=linux-2.6 diff --git a/include/net/af_unix.h b/include/net/af_unix.h index bfc1779fc7..427dac94bc 100644 --- a/include/net/af_unix.h +++ b/include/net/af_unix.h @@ -4,6 +4,7 @@ #include #include #include +#include #include 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;