projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge master.kernel.org:/home/rmk/linux-2.6-mmc
[powerpc.git]
/
net
/
unix
/
garbage.c
diff --git
a/net/unix/garbage.c
b/net/unix/garbage.c
index
6ffc64e
..
411802b
100644
(file)
--- a/
net/unix/garbage.c
+++ b/
net/unix/garbage.c
@@
-182,7
+182,7
@@
void unix_gc(void)
if (down_trylock(&unix_gc_sem))
return;
if (down_trylock(&unix_gc_sem))
return;
-
read
_lock(&unix_table_lock);
+
spin
_lock(&unix_table_lock);
forall_unix_sockets(i, s)
{
forall_unix_sockets(i, s)
{
@@
-301,7
+301,7
@@
void unix_gc(void)
}
u->gc_tree = GC_ORPHAN;
}
}
u->gc_tree = GC_ORPHAN;
}
-
read
_unlock(&unix_table_lock);
+
spin
_unlock(&unix_table_lock);
/*
* Here we are. Hitlist is filled. Die.
/*
* Here we are. Hitlist is filled. Die.