[AF_UNIX]: Make socket locking much less confusing.
authorDavid S. Miller <davem@sunset.davemloft.net>
Thu, 31 May 2007 20:24:26 +0000 (13:24 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 4 Jun 2007 01:08:40 +0000 (18:08 -0700)
The unix_state_*() locking macros imply that there is some
rwlock kind of thing going on, but the implementation is
actually a spinlock which makes the code more confusing than
it needs to be.

So use plain unix_state_lock and unix_state_unlock.

Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found