xfs
[Top] [All Lists]

[RFC 15/17] xfsprogs: add basic parent pointer support to xfs_db

To: xfs@xxxxxxxxxxx
Subject: [RFC 15/17] xfsprogs: add basic parent pointer support to xfs_db
From: Mark Tinguely <tinguely@xxxxxxx>
Date: Wed, 15 Jan 2014 16:00:27 -0600
Delivered-to: xfs@xxxxxxxxxxx
References: <20140115220012.624438534@xxxxxxx>
User-agent: quilt/0.51-1
Add basic parent pointer support to xfs_db. Not at all complete.

---
 db/inode.c              |    2 ++

---
 db/inode.c |    2 ++
 1 file changed, 2 insertions(+)

Index: b/db/inode.c
===================================================================
--- a/db/inode.c
+++ b/db/inode.c
@@ -175,6 +175,8 @@ const field_t       inode_v3_flds[] = {
        { "crtime", FLDT_TIMESTAMP, OI(COFF(crtime)), C1, 0, TYP_NONE },
        { "inumber", FLDT_INO, OI(COFF(ino)), C1, 0, TYP_NONE },
        { "uuid", FLDT_UUID, OI(COFF(uuid)), C1, 0, TYP_NONE },
+       { "parent", FLDT_UINT64D, OI(COFF(parent)), C1, 0, TYP_NONE },
+       { "poffset", FLDT_UINT32X, OI(OFF(poffset)), C1, 0, TYP_NONE },
        { NULL }
 };
 


<Prev in Thread] Current Thread [Next in Thread>