]> www.infradead.org Git - mtd-utils.git/commitdiff
tests: Remove unused linux/fs.h header from includes
authorKhem Raj <raj.khem@gmail.com>
Sun, 7 Aug 2022 03:21:39 +0000 (20:21 -0700)
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Mon, 8 Aug 2022 06:20:58 +0000 (08:20 +0200)
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>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
tests/fs-tests/lib/tests.c

index d1a2e0c8e5ca9568ee62725ea1b1b38e90faa132..3db042659d8327764bbfc166ec36ea335b7905eb 100644 (file)
@@ -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"