f2fs-tools: fix wrong blk_zone_rep_v2 definition
PATCH 1/1 f2fs-tools: fix wrong blk_zone_rep_v2 definition
If HAVE_BLK_ZONE_REP_V2 id defined, we should set v2.
Signed-off-by Jaegeuk Kim <[email protected]>
--- include/f2fs_fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/f2fs_fs.h +1 -1
@@ -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