diff mbox series

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

Message ID 20220807032139.2218208-1-raj.khem@gmail.com
State Superseded
Delegated to: David Oberhollenzer
Headers show
Series [mtd-utils] tests: Remove unused linux/fs.h header from includes | expand

Commit Message

Khem Raj Aug. 7, 2022, 3:21 a.m. UTC
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@gmail.com>
---
 tests/fs-tests/lib/tests.c | 1 -
 1 file changed, 1 deletion(-)

Comments

David Oberhollenzer Aug. 19, 2022, 4:12 p.m. UTC | #1
Applied to mtd-utils.git master.

Thanks,

David
diff mbox series

Patch

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"