2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 05:48:05 +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:
Cyrill Gorcunov 2011-12-09 15:39:08 +04:00
parent bf9a873866
commit 6840bcc4d4

View File

@ -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;