Commit 53e47700 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

unix: Move unix_resolve_name declaration on top

This makes code more accurate.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent 33bbfa9c
...@@ -92,6 +92,9 @@ struct unix_sk_desc { ...@@ -92,6 +92,9 @@ struct unix_sk_desc {
static LIST_HEAD(unix_sockets); static LIST_HEAD(unix_sockets);
static int unix_resolve_name(int lfd, uint32_t id, struct unix_sk_desc *d,
UnixSkEntry *ue, const struct fd_parms *p);
struct unix_sk_listen_icon { struct unix_sk_listen_icon {
unsigned int peer_ino; unsigned int peer_ino;
struct unix_sk_desc *sk_desc; struct unix_sk_desc *sk_desc;
...@@ -315,8 +318,6 @@ err: ...@@ -315,8 +318,6 @@ err:
return -ENOENT; return -ENOENT;
} }
static int unix_resolve_name(int lfd, uint32_t id, struct unix_sk_desc *d,
UnixSkEntry *ue, const struct fd_parms *p);
static int dump_one_unix_fd(int lfd, uint32_t id, const struct fd_parms *p) static int dump_one_unix_fd(int lfd, uint32_t id, const struct fd_parms *p)
{ {
struct unix_sk_desc *sk, *peer; struct unix_sk_desc *sk, *peer;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment