[CRIU] [PATCH 07/20] mnt: Mark dump_mnt_ns as static

Pavel Emelyanov xemul at parallels.com
Tue Apr 22 09:36:38 PDT 2014


Signed-off-by: Pavel Emelyanov <xemul at parallels.com>
---
 include/mount.h |    1 -
 mount.c         |    2 +-
 2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/include/mount.h b/include/mount.h
index a13483b..a6ff4c4 100644
--- a/include/mount.h
+++ b/include/mount.h
@@ -14,7 +14,6 @@ extern struct fstype *find_fstype_by_name(char *fst);
 struct cr_fdset;
 struct ns_id;
 extern struct mount_info * collect_mntinfo(struct ns_id *ns);
-extern int dump_mnt_ns(struct ns_id *ns);
 extern int prepare_mnt_ns(void);
 
 extern int pivot_root(const char *new_root, const char *put_old);
diff --git a/mount.c b/mount.c
index 7d7e8ed..92f2cef 100644
--- a/mount.c
+++ b/mount.c
@@ -843,7 +843,7 @@ err:
 	return NULL;
 }
 
-int dump_mnt_ns(struct ns_id *ns)
+static int dump_mnt_ns(struct ns_id *ns)
 {
 	struct mount_info *pm, *pms;
 	int img_fd = -1, ret = -1;
-- 
1.7.6.5


More information about the CRIU mailing list