blob: dd88743d1ecbb4a13ad1fc7ac4d1104cd76c7893 [file] [log] [blame]
Patrick Williamsdb4c27e2022-08-05 08:10:29 -05001From c8fc52968f9e97d29ccf6deb348ec02627d74235 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 29 Jul 2022 13:00:40 -0700
4Subject: [PATCH] hdparm: Remove unused linux/fs.h header
5
6this helps fixing builds with glibc 2.36 where mount.h conflits now with
7kernel mount.h which is included indirectly by linux/fs.h see [1] for
8details
9
10[1] https://sourceware.org/glibc/wiki/Release/2.36
11
12Upstream-Status: Submitted [https://sourceforge.net/p/hdparm/patches/52/]
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14---
15 hdparm.c | 1 -
16 1 file changed, 1 deletion(-)
17
18diff --git a/hdparm.c b/hdparm.c
19index fa21e2f..901bdd8 100644
20--- a/hdparm.c
21+++ b/hdparm.c
22@@ -25,7 +25,6 @@
23 #include <sys/mman.h>
24 #include <sys/user.h>
25 #include <linux/types.h>
26-#include <linux/fs.h>
27 #include <linux/major.h>
28 #include <endian.h>
29 #include <asm/byteorder.h>
30--
312.37.1
32