]> www.infradead.org Git - users/hch/xfsprogs.git/commitdiff
db: add a comment to agfl_crc_flds
authorChristoph Hellwig <hch@lst.de>
Sat, 9 May 2020 19:51:59 +0000 (15:51 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Sat, 9 May 2020 19:51:59 +0000 (15:51 -0400)
Explain the bno field that is not actually part of the structure
anymore.

Signed-off-by: Christoph Hellwig <hch@lst.de>
[sandeen: tweak the commentper djwong's suggestion]
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
db/agfl.c

index 45e4d6f9ce303ee9fe1072da14e63dac88cf8acc..f0f3f21a64d12cc395c9cd842ad5f11578e1f20b 100644 (file)
--- 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 }