aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2017-08-04 16:33:45 -0500
committerEric Sandeen <sandeen@redhat.com>2017-08-04 16:33:45 -0500
commit61a155678aa65f5191c78d0025730b3efab36740 (patch)
tree1d67a4d27f62881952df4bacc726a37db9f9f349
parentb4056fed6eda8180153fb274733aec8ff5dd14c9 (diff)
downloadxfsprogs-dev-61a155678aa65f5191c78d0025730b3efab36740.tar.gz
xfs_db: associate proper type with free inode btree root
When navigating to the free inode btree root, the wrong type is set: xfs_db> agi 0 xfs_db> addr free_root xfs_db> type current type is "inobt" Change this to type finobt / TYP_FINOBT (There seems to be no actual difference, but if we have an explicit type name for the free inode btree, we should use it as appropriate) Signed-off-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
-rw-r--r--db/agi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/agi.c b/db/agi.c
index 285a3c5fc3..fb69210be2 100644
--- a/db/agi.c
+++ b/db/agi.c
@@ -57,7 +57,7 @@ const field_t agi_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 },
- { "free_root", FLDT_AGBLOCK, OI(OFF(free_root)), C1, 0, TYP_INOBT },
+ { "free_root", FLDT_AGBLOCK, OI(OFF(free_root)), C1, 0, TYP_FINOBT },
{ "free_level", FLDT_UINT32D, OI(OFF(free_level)), C1, 0, TYP_NONE },
{ NULL }
};