blob: 73d4a8475f0723a2d33c148a80b347ee06f39c92 [file] [log] [blame]
Patrick Williams92b42cb2022-09-03 06:53:57 -05001From 6fb10bd18488ed84776675bc1b2982800a51d839 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 6 Aug 2022 20:14:38 -0700
4Subject: [mtd-utils][PATCH] tests: Remove unused linux/fs.h header from includes
5
6This header is not needed, moreover it includes linux/mount.h which is
7now in conflict[1] with glibc provided sys/mount.h from glibc 2.36 onwards
8
9[1] https://sourceware.org/glibc/wiki/Release/2.36
10
11Upstream-Status: Submitted [https://lists.infradead.org/pipermail/linux-mtd/2022-August/094667.html]
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13---
14 tests/fs-tests/lib/tests.c | 1 -
15 1 file changed, 1 deletion(-)
16
17diff --git a/tests/fs-tests/lib/tests.c b/tests/fs-tests/lib/tests.c
18index d1a2e0c..3db0426 100644
19--- a/tests/fs-tests/lib/tests.c
20+++ b/tests/fs-tests/lib/tests.c
21@@ -35,7 +35,6 @@
22 #include <sys/vfs.h>
23 #include <sys/mount.h>
24 #include <sys/statvfs.h>
25-#include <linux/fs.h>
26 #include <linux/jffs2.h>
27
28 #include "tests.h"
29--
302.37.1
31