patch-2.3.10 linux/net/unix/garbage.c

Next file: linux/net/wanrouter/wanproc.c
Previous file: linux/net/unix/af_unix.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.9/linux/net/unix/garbage.c linux/net/unix/garbage.c
@@ -199,7 +199,7 @@
 		 *	in flight we are in use.
 		 */
 		if(s->socket && s->socket->file &&
-		   atomic_read(&s->socket->file->f_count) > s->protinfo.af_unix.inflight)
+		   file_count(s->socket->file) > s->protinfo.af_unix.inflight)
 			maybe_unmark_and_push(s);
 	}
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)