Skip to contentSkip to conversation

tests: Remove unused linux/fs.h header from includes

PATCH Applied Khem Raj 2 participants 2 messages Aug 7, 2022 – Aug 19, 2022 Memory technology devices (MTD)

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 tests: Remove unused linux/fs.h header from includes

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

---
 tests/fs-tests/lib/tests.c | 1 -
 1 file changed, 1 deletion(-)
tests/fs-tests/lib/tests.c +0 -1
index d1a2e0c..3db0426 100644
@@ -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"
Signature · 6 lines
2.37.1


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/