xfs
[Top] [All Lists]

[PATCH v3 3/4] xfs_progs: add dirent filetype to xfs_db version

To: xfs@xxxxxxxxxxx
Subject: [PATCH v3 3/4] xfs_progs: add dirent filetype to xfs_db version
From: Mark Tinguely <tinguely@xxxxxxx>
Date: Thu, 17 Oct 2013 10:28:07 -0500
Delivered-to: xfs@xxxxxxxxxxx
References: <20131017152804.204045257@xxxxxxx>
User-agent: quilt/0.51-1
Add directory inode type to the xfs_db version command.

Signed-off-by: Mark Tinguely <tinguely@xxxxxxx>
---
new to v3

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

Index: b/db/sb.c
===================================================================
--- a/db/sb.c
+++ b/db/sb.c
@@ -644,6 +644,8 @@ version_string(
                strcat(s, ",PROJID32BIT");
        if (xfs_sb_version_hascrc(sbp))
                strcat(s, ",CRC");
+       if (xfs_sb_version_hasftype(sbp))
+               strcat(s, ",FTYPE");
        return s;
 }
 


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