From: Christoph Hellwig Date: Sat, 9 May 2020 19:51:59 +0000 (-0400) Subject: db: add a comment to agfl_crc_flds X-Git-Tag: xfsprogs-5.7-fixes_2020-06-25~18 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=27cd356ffca863fdbc7cf7c31bc6886042789a19;p=thirdparty%2Fxfsprogs-dev.git 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 --- 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 }