]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
xfs_progs: add dirent filetype to xfs_db version
authorMark Tinguely <tinguely@sgi.com>
Thu, 17 Oct 2013 15:28:07 +0000 (15:28 +0000)
committerRich Johnston <rjohnston@sgi.com>
Wed, 23 Oct 2013 22:58:19 +0000 (17:58 -0500)
Add directory inode type to the xfs_db version command.

Signed-off-by: Mark Tinguely <tinguely@sgi.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
db/sb.c

diff --git a/db/sb.c b/db/sb.c
index d178f58ff33ff24395eb5351e7b9b1eb45464d5e..492915265a7157d535462486e8effe7c57f1bff5 100644 (file)
--- 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;
 }