From 746ac3fee52612f47f98e46ed42c92d7942753f1 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Thu, 6 Dec 2012 11:10:10 +0400 Subject: [PATCH] files-reg: Move struct file_remap to the header We will need to use it in inotify code. Signed-off-by: Cyrill Gorcunov Signed-off-by: Pavel Emelyanov --- files-reg.c | 5 ----- include/files-reg.h | 6 +++++- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/files-reg.c b/files-reg.c index d9680a3fd..3041ac119 100644 --- a/files-reg.c +++ b/files-reg.c @@ -20,11 +20,6 @@ #include "files-reg.h" -struct file_remap { - char *path; - unsigned int users; -}; - /* * Ghost files are those not visible from the FS. Dumping them is * nasty and the only way we have -- just carry its contents with diff --git a/include/files-reg.h b/include/files-reg.h index aeae26fe4..56338b3b5 100644 --- a/include/files-reg.h +++ b/include/files-reg.h @@ -11,7 +11,11 @@ struct cr_fdset; struct fd_parms; -struct file_remap; +struct file_remap { + char *path; + unsigned int users; +}; + struct reg_file_info { struct file_desc d; RegFileEntry *rfe;