diff options
| author | Kuniyuki Iwashima <kuniyu@google.com> | 2025-11-15 02:08:38 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-11-18 19:19:32 -0800 |
| commit | 24fa77dad25c2f55cc4615c09df2201ef72c66f4 (patch) | |
| tree | 806c03df24aa522a3dc108cbecddb2e12c2adb18 /net/unix/af_unix.h | |
| parent | ab8b23150abccd34fddc3effe7776ad32c44b6c9 (diff) | |
af_unix: Consolidate unix_schedule_gc() and wait_for_unix_gc().
unix_schedule_gc() and wait_for_unix_gc() share some code.
Let's consolidate the two.
Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20251115020935.2643121-8-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.h')
| -rw-r--r-- | net/unix/af_unix.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/unix/af_unix.h b/net/unix/af_unix.h index 2f1bfe3217c1..c4f1b2da363d 100644 --- a/net/unix/af_unix.h +++ b/net/unix/af_unix.h @@ -29,7 +29,7 @@ void unix_del_edges(struct scm_fp_list *fpl); void unix_update_edges(struct unix_sock *receiver); int unix_prepare_fpl(struct scm_fp_list *fpl); void unix_destroy_fpl(struct scm_fp_list *fpl); -void unix_schedule_gc(void); +void unix_schedule_gc(struct user_struct *user); /* SOCK_DIAG */ long unix_inq_len(struct sock *sk); |