51 lines
1.6 KiB
Diff
51 lines
1.6 KiB
Diff
|
|
From 448e4c5b0327916c05d8354e4e99565de7a8129d Mon Sep 17 00:00:00 2001
|
||
|
|
From: haozi007 <liuhao27@huawei.com>
|
||
|
|
Date: Tue, 9 Aug 2022 14:36:33 +0800
|
||
|
|
Subject: [PATCH 11/15] remove unused include files
|
||
|
|
|
||
|
|
Signed-off-by: haozi007 <liuhao27@huawei.com>
|
||
|
|
---
|
||
|
|
.../storage/layer_store/graphdriver/quota/project_quota.h | 1 -
|
||
|
|
src/utils/cutils/utils_network.c | 7 -------
|
||
|
|
2 files changed, 8 deletions(-)
|
||
|
|
|
||
|
|
diff --git a/src/daemon/modules/image/oci/storage/layer_store/graphdriver/quota/project_quota.h b/src/daemon/modules/image/oci/storage/layer_store/graphdriver/quota/project_quota.h
|
||
|
|
index 2aae6bcd..94230faa 100644
|
||
|
|
--- a/src/daemon/modules/image/oci/storage/layer_store/graphdriver/quota/project_quota.h
|
||
|
|
+++ b/src/daemon/modules/image/oci/storage/layer_store/graphdriver/quota/project_quota.h
|
||
|
|
@@ -35,7 +35,6 @@
|
||
|
|
#include <inttypes.h>
|
||
|
|
#include <linux/magic.h>
|
||
|
|
#include <linux/dqblk_xfs.h>
|
||
|
|
-#include <linux/fs.h>
|
||
|
|
#include <errno.h>
|
||
|
|
#include <libgen.h>
|
||
|
|
#include <dirent.h>
|
||
|
|
diff --git a/src/utils/cutils/utils_network.c b/src/utils/cutils/utils_network.c
|
||
|
|
index 5192d06f..c77edc3c 100644
|
||
|
|
--- a/src/utils/cutils/utils_network.c
|
||
|
|
+++ b/src/utils/cutils/utils_network.c
|
||
|
|
@@ -18,19 +18,12 @@
|
||
|
|
#include "utils_network.h"
|
||
|
|
|
||
|
|
#include <unistd.h>
|
||
|
|
-#include <sched.h>
|
||
|
|
#include <stdlib.h>
|
||
|
|
#include <pthread.h>
|
||
|
|
#include <sys/mount.h>
|
||
|
|
-#include <linux/fs.h>
|
||
|
|
-#include <syscall.h>
|
||
|
|
#include <isula_libutils/log.h>
|
||
|
|
-#include <fcntl.h>
|
||
|
|
|
||
|
|
#include "utils.h"
|
||
|
|
-#include "utils_fs.h"
|
||
|
|
-#include "utils_file.h"
|
||
|
|
-#include "constants.h"
|
||
|
|
|
||
|
|
int util_create_netns_file(const char *netns_path)
|
||
|
|
{
|
||
|
|
--
|
||
|
|
2.25.1
|
||
|
|
|