Commit 6840bcc4 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

restore: Move struct pipe_list_entry at top of file

Stage structures in one place.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
parent bf9a8738
...@@ -80,6 +80,12 @@ struct shmem_id { ...@@ -80,6 +80,12 @@ struct shmem_id {
unsigned long shmid; unsigned long shmid;
}; };
struct pipe_list_entry {
struct list_head list;
struct pipe_entry e;
off_t offset;
};
static struct shmem_id *shmem_ids; static struct shmem_id *shmem_ids;
static struct fmap_fd *fmap_fds; static struct fmap_fd *fmap_fds;
...@@ -1156,13 +1162,6 @@ err: ...@@ -1156,13 +1162,6 @@ err:
return ret; return ret;
} }
struct pipe_list_entry {
struct pipe_entry e;
struct list_head list;
off_t offset;
};
static int prepare_pipes(int pid) static int prepare_pipes(int pid)
{ {
u32 type = 0, ret = 1; u32 type = 0, ret = 1;
......
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