[PATCH 37/48] xfs_db: add CRC information to dquot output
Dave Chinner
david at fromorbit.com
Thu Jun 6 19:26:00 CDT 2013
From: Dave Chinner <dchinner at redhat.com>
When dumping a dqblk, also output the CRC related fields. For
non-CRC filesystems, these fields should always be zero.
Signed-off-by: Dave Chinner <dchinner at redhat.com>
---
db/dquot.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/db/dquot.c b/db/dquot.c
index daa47a3..35eb0bd 100644
--- a/db/dquot.c
+++ b/db/dquot.c
@@ -48,6 +48,9 @@ const field_t dqblk_flds[] = {
{ "diskdq", FLDT_DISK_DQUOT, OI(DDOFF(diskdq)), C1, 0, TYP_NONE },
{ "fill", FLDT_CHARS, OI(DDOFF(fill)), CI(DDSZC(fill)), FLD_SKIPALL,
TYP_NONE },
+ { "crc", FLDT_UINT32X, OI(DDOFF(crc)), C1, 0, TYP_NONE },
+ { "lsn", FLDT_UINT64X, OI(DDOFF(lsn)), C1, 0, TYP_NONE },
+ { "uuid", FLDT_UUID, OI(DDOFF(uuid)), C1, 0, TYP_NONE },
{ NULL }
};
--
1.7.10.4
More information about the xfs
mailing list