[mtd-utils][PATCH] tests: Remove unused linux/fs.h header from includes

Khem Raj raj.khem at gmail.com
Sat Aug 6 20:21:39 PDT 2022


This header is not needed, moreover it includes linux/mount.h which is
now in conflict[1] with glibc provided sys/mount.h from glibc 2.36 onwards

[1] https://sourceware.org/glibc/wiki/Release/2.36

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 tests/fs-tests/lib/tests.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tests/fs-tests/lib/tests.c b/tests/fs-tests/lib/tests.c
index d1a2e0c..3db0426 100644
--- a/tests/fs-tests/lib/tests.c
+++ b/tests/fs-tests/lib/tests.c
@@ -35,7 +35,6 @@
 #include <sys/vfs.h>
 #include <sys/mount.h>
 #include <sys/statvfs.h>
-#include <linux/fs.h>
 #include <linux/jffs2.h>
 
 #include "tests.h"
-- 
2.37.1




More information about the linux-mtd mailing list