Skip to contentSkip to conversation

f2fs-tools: fix wrong blk_zone_rep_v2 definition

PATCH New Jaegeuk Kim 1 participant 1 message Dec 23, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 f2fs-tools: fix wrong blk_zone_rep_v2 definition

If HAVE_BLK_ZONE_REP_V2 id defined, we should set v2.

---
 include/f2fs_fs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/f2fs_fs.h +1 -1
index b9dc0b6f480e..ccf1e2b7a548 100644
@@ -1407,7 +1407,7 @@ blk_zone_cond_str(struct blk_zone *blkz)
 /*
  * Handle kernel zone capacity support
  */
-#ifndef HAVE_BLK_ZONE_REP_V2
+#ifdef HAVE_BLK_ZONE_REP_V2
 #define BLK_ZONE_REP_CAPACITY   (1 << 0)
 struct blk_zone_v2 {
 	__u64   start;          /* Zone start sector */
Signature · 8 lines
2.29.2.729.g45daf8777d-goog



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