From 27cd356ffca863fdbc7cf7c31bc6886042789a19 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Sat, 9 May 2020 15:51:59 -0400 Subject: [PATCH] db: add a comment to agfl_crc_flds Explain the bno field that is not actually part of the structure anymore. Signed-off-by: Christoph Hellwig [sandeen: tweak the commentper djwong's suggestion] Reviewed-by: Eric Sandeen Reviewed-by: Darrick J. Wong Signed-off-by: Eric Sandeen --- db/agfl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/db/agfl.c b/db/agfl.c index 45e4d6f9c..f0f3f21a6 100644 --- a/db/agfl.c +++ b/db/agfl.c @@ -47,6 +47,7 @@ const field_t agfl_crc_flds[] = { { "uuid", FLDT_UUID, OI(OFF(uuid)), C1, 0, TYP_NONE }, { "lsn", FLDT_UINT64X, OI(OFF(lsn)), C1, 0, TYP_NONE }, { "crc", FLDT_CRC, OI(OFF(crc)), C1, 0, TYP_NONE }, + /* the bno array is after the actual structure */ { "bno", FLDT_AGBLOCKNZ, OI(bitize(sizeof(struct xfs_agfl))), agfl_bno_size, FLD_ARRAY|FLD_COUNT, TYP_DATA }, { NULL } -- 2.50.1