Commit 94789746 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

files-reg: Align and reorder structure members

This eliminates holes in structures. No func changes.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 47506e8d
...@@ -15,16 +15,17 @@ ...@@ -15,16 +15,17 @@
#include "files-reg.h" #include "files-reg.h"
struct reg_file_info { struct reg_file_info {
struct file_desc d;
struct reg_file_entry rfe; struct reg_file_entry rfe;
char *remap_path; char *remap_path;
char *path; char *path;
struct file_desc d;
}; };
struct ghost_file { struct ghost_file {
struct list_head list;
u32 id; u32 id;
char *path; char *path;
struct list_head list;
}; };
/* /*
...@@ -33,10 +34,10 @@ struct ghost_file { ...@@ -33,10 +34,10 @@ struct ghost_file {
* us. Any brave soul to implement link unlinked file back? * us. Any brave soul to implement link unlinked file back?
*/ */
struct ghost_file_dumpee { struct ghost_file_dumpee {
struct list_head list;
u32 id;
u32 dev; u32 dev;
u32 ino; u32 ino;
u32 id;
struct list_head list;
}; };
static u32 ghost_file_ids = 1; static u32 ghost_file_ids = 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