Commit 746ac3fe authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

files-reg: Move struct file_remap to the header

We will need to use it in inotify code.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent bae33244
...@@ -20,11 +20,6 @@ ...@@ -20,11 +20,6 @@
#include "files-reg.h" #include "files-reg.h"
struct file_remap {
char *path;
unsigned int users;
};
/* /*
* Ghost files are those not visible from the FS. Dumping them is * Ghost files are those not visible from the FS. Dumping them is
* nasty and the only way we have -- just carry its contents with * nasty and the only way we have -- just carry its contents with
......
...@@ -11,7 +11,11 @@ ...@@ -11,7 +11,11 @@
struct cr_fdset; struct cr_fdset;
struct fd_parms; struct fd_parms;
struct file_remap; struct file_remap {
char *path;
unsigned int users;
};
struct reg_file_info { struct reg_file_info {
struct file_desc d; struct file_desc d;
RegFileEntry *rfe; RegFileEntry *rfe;
......
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