2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 22:05:36 +00:00

kerndat: Collect all global variables on one struct

Not to spoil the global namespace and unify the kerndat
data names.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Pavel Emelyanov
2014-11-10 10:47:42 +04:00
parent 5f7933e3a0
commit 19a76494a9
9 changed files with 35 additions and 40 deletions

View File

@@ -174,7 +174,7 @@ static int parse_vmflags(char *buf, struct vma_area *vma_area)
static inline int is_anon_shmem_map(dev_t dev)
{
return kerndat_shmem_dev == dev;
return kdat.shmem_dev == dev;
}
struct vma_file_info {