summaryrefslogtreecommitdiffstats
path: root/net/unix/garbage.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/unix/garbage.c')
-rw-r--r--net/unix/garbage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/unix/garbage.c b/net/unix/garbage.c
index fa5a21fe1..ef24fec95 100644
--- a/net/unix/garbage.c
+++ b/net/unix/garbage.c
@@ -199,7 +199,7 @@ void unix_gc(void)
* 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);
}