mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-25 11:04:35 +00:00
restore: Move struct pipe_list_entry at top of file
Stage structures in one place. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
This commit is contained in:
parent
bf9a873866
commit
6840bcc4d4
1 changed files with 6 additions and 7 deletions
13
cr-restore.c
13
cr-restore.c
|
|
@ -80,6 +80,12 @@ struct shmem_id {
|
|||
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 fmap_fd *fmap_fds;
|
||||
|
|
@ -1156,13 +1162,6 @@ err:
|
|||
return ret;
|
||||
}
|
||||
|
||||
|
||||
struct pipe_list_entry {
|
||||
struct pipe_entry e;
|
||||
struct list_head list;
|
||||
off_t offset;
|
||||
};
|
||||
|
||||
static int prepare_pipes(int pid)
|
||||
{
|
||||
u32 type = 0, ret = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue