From: Darrick J. Wong Date: Mon, 17 Aug 2020 21:20:17 +0000 (-0400) Subject: xfs_db: report the inode dax flag X-Git-Tag: v5.8.0-rc1~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=23d22c981a3b460da4658ac75e9ad839a275fddc;p=thirdparty%2Fxfsprogs-dev.git xfs_db: report the inode dax flag Report the inode DAX flag when we're printing an inode, just like we do for other v3 inode flags. Signed-off-by: Darrick J. Wong Reviewed-by: Christoph Hellwig Reviewed-by: Carlos Maiolino Signed-off-by: Eric Sandeen --- diff --git a/db/inode.c b/db/inode.c index 3ae5d18f9..f13150c96 100644 --- a/db/inode.c +++ b/db/inode.c @@ -172,6 +172,9 @@ const field_t inode_v3_flds[] = { { "cowextsz", FLDT_UINT1, OI(COFF(flags2) + bitsz(uint64_t) - XFS_DIFLAG2_COWEXTSIZE_BIT-1), C1, 0, TYP_NONE }, + { "dax", FLDT_UINT1, + OI(COFF(flags2) + bitsz(uint64_t) - XFS_DIFLAG2_DAX_BIT - 1), C1, + 0, TYP_NONE }, { NULL } };