lapi: Remove HAVE_LINUX_FS_H
PATCH 1/1 lapi: Remove HAVE_LINUX_FS_H
Remove workaround for glibc bug fixed in glibc 2.37:
https://github.com/kraj/glibc/commit/774058d72942249f71d74e7f2b639f77184160a6
It's not needed any more (it was needed for some Fedora version only).
Suggested-by Li Wang <[email protected]>
Signed-off-by Petr Vorel <[email protected]>
---
Tested: https://github.com/pevik/ltp/actions/runs/10094313234
configure.ac | 1 - include/lapi/ficlone.h | 6 +----- include/lapi/fs.h | 4 +--- 3 files changed, 2 insertions(+), 9 deletions(-)
configure.ac +0 -1
@@ -51,7 +51,6 @@ AC_CHECK_HEADERS_ONCE([ \ linux/cryptouser.h \ linux/close_range.h \ linux/dccp.h \ - linux/fs.h \ linux/futex.h \ linux/genetlink.h \ linux/if_alg.h \
include/lapi/ficlone.h +1 -5
@@ -8,11 +8,7 @@#define LAPI_FICLONE_H__ #include "config.h" - -#ifdef HAVE_LINUX_FS_H -# include <linux/fs.h> -#endif - +#include <linux/fs.h> #include <stdint.h> #ifndef HAVE_STRUCT_FILE_CLONE_RANGE
include/lapi/fs.h +1 -3
@@ -11,9 +11,7 @@#include "config.h" #ifndef HAVE_MOUNT_SETATTR -# ifdef HAVE_LINUX_FS_H -# include <linux/fs.h> -# endif +# include <linux/fs.h> #endif #include <sys/user.h>
Signature · 5 lines
2.45.2 -- Mailing list info: https://lists.linux.it/listinfo/ltp
Hi Li, all,
Quoted 5 lines
Remove workaround for glibc bug fixed in glibc 2.37:
https://github.com/kraj/glibc/commit/774058d72942249f71d74e7f2b639f77184160a6
It's not needed any more (it was needed for some Fedora version only).
FYI merged.
Kind regards,
Petr
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp