From: Yang Xu Date: Mon, 26 Apr 2021 06:23:07 +0000 (+0800) Subject: src/idmapped-mounts: Remove useless header file X-Git-Tag: v2022.05.01~437 X-Git-Url: http://git.apps.os.sepia.ceph.com/?p=xfstests-dev.git;a=commitdiff_plain;h=b0a58bbe13c94729cf02c52e9856102b1b5f3bc4;hp=aea877f8979e802ffa7bac7ff23303a567f1aacf src/idmapped-mounts: Remove useless header file When compile xfstest on old kernel, mount-idmapped.c will fail because of missing linux/bpf.h. But this src file doesn't use bpf realted functions or macros. So remove these useless header files in idmapped-mounts.c and mount-idmapped.c. Signed-off-by: Yang Xu Reviewed-by: Christian Brauner Signed-off-by: Eryu Guan --- diff --git a/src/idmapped-mounts/idmapped-mounts.c b/src/idmapped-mounts/idmapped-mounts.c index 1a02953d..30f8f6e0 100644 --- a/src/idmapped-mounts/idmapped-mounts.c +++ b/src/idmapped-mounts/idmapped-mounts.c @@ -16,11 +16,9 @@ #include #include #include -#include #include #include #include -#include #include #include diff --git a/src/idmapped-mounts/mount-idmapped.c b/src/idmapped-mounts/mount-idmapped.c index b3e9e27b..219104e7 100644 --- a/src/idmapped-mounts/mount-idmapped.c +++ b/src/idmapped-mounts/mount-idmapped.c @@ -9,11 +9,8 @@ #include #include #include -#include #include -#include #include -#include #include #include #include @@ -21,7 +18,6 @@ #include #include #include -#include #include #include #include