Skip to contentSkip to conversation

Support zoned device if libc exists

PATCH New Jaegeuk Kim 1 participant 1 message May 25, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Support zoned device if libc exists

---
 include/android_config.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
include/android_config.h +6 -2
index 5f5c693cbbb3..07440874188c 100644
@@ -4,8 +4,6 @@
 #define HAVE_FCNTL_H 1
 #define HAVE_FALLOC_H 1
 #define HAVE_FSYNC 1
-#define HAVE_KERNEL_UAPI_LINUX_BLKZONED_H 1
-#define HAVE_LINUX_BLKZONED_H 1
 #define HAVE_LINUX_HDREG_H 1
 #define HAVE_LINUX_LIMITS_H 1
 #define HAVE_POSIX_ACL_H 1
@@ -42,6 +40,12 @@
 #ifdef WITH_SLOAD
 #define HAVE_LIBSELINUX 1
 #endif
+
+#ifdef WITH_LIBC
+#define HAVE_KERNEL_UAPI_LINUX_BLKZONED_H 1
+#define HAVE_LINUX_BLKZONED_H 1
+#endif
+
 #endif
 
 #if defined(__APPLE__)
Signature · 8 lines
2.36.1.124.g0e6072fb45-goog



_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel