[CRIU] [PATCH 2/6] Remove unused #include <sys/vfs.h>
Radostin Stoyanov
rstoyanov1 at gmail.com
Sat Nov 10 00:51:22 MSK 2018
Signed-off-by: Radostin Stoyanov <rstoyanov1 at gmail.com>
---
criu/cr-restore.c | 1 -
criu/files-reg.c | 1 -
criu/fsnotify.c | 1 -
criu/util.c | 1 -
4 files changed, 4 deletions(-)
diff --git a/criu/cr-restore.c b/criu/cr-restore.c
index 50d92f9c..c3414e08 100644
--- a/criu/cr-restore.c
+++ b/criu/cr-restore.c
@@ -13,7 +13,6 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/mman.h>
-#include <sys/vfs.h>
#include <sys/wait.h>
#include <sys/file.h>
#include <sys/shm.h>
diff --git a/criu/files-reg.c b/criu/files-reg.c
index 2404c89b..c4f4e161 100644
--- a/criu/files-reg.c
+++ b/criu/files-reg.c
@@ -6,7 +6,6 @@
#include <sys/mman.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/vfs.h>
#include <sys/prctl.h>
#include <ctype.h>
#include <sys/sendfile.h>
diff --git a/criu/fsnotify.c b/criu/fsnotify.c
index 001f006b..916e121c 100644
--- a/criu/fsnotify.c
+++ b/criu/fsnotify.c
@@ -12,7 +12,6 @@
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/inotify.h>
-#include <sys/vfs.h>
#include <linux/magic.h>
#include <sys/wait.h>
#include <poll.h>
diff --git a/criu/util.c b/criu/util.c
index a2be58ab..bc98aa38 100644
--- a/criu/util.c
+++ b/criu/util.c
@@ -24,7 +24,6 @@
#include <sys/resource.h>
#include <sys/stat.h>
#include <sys/mman.h>
-#include <sys/vfs.h>
#include <sys/ptrace.h>
#include <sys/wait.h>
#include <sys/resource.h>
--
2.17.2
More information about the CRIU
mailing list