linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / include / net / af_unix.h
index 8a10ee6..9dd2fac 100644 (file)
@@ -4,7 +4,6 @@
 #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);
@@ -75,7 +74,7 @@ struct unix_sock {
         struct unix_address     *addr;
         struct dentry          *dentry;
         struct vfsmount                *mnt;
-       struct mutex            readlock;
+        struct semaphore        readsem;
         struct sock            *peer;
         struct sock            *other;
         struct sock            *gc_tree;