Patchwork libe2p: Add JFS_FEATURE_INCOMPAT_64BIT parsing

login
register
mail settings
Submitter Eric Sandeen
Date May 24, 2012, 5:24 p.m.
Message ID <4FBE6EE1.2000000@redhat.com>
Download mbox | patch
Permalink /patch/161169/
State Superseded
Headers show

Comments

Eric Sandeen - May 24, 2012, 5:24 p.m.
Today, dumpe2fs for example will give this for a
journal with JFS_FEATURE_INCOMPAT_64BIT:

Journal features:         FEATURE_I1

So fix this to show the more useful:

Journal features:         journal_64bit

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
---


--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Eric Sandeen - May 24, 2012, 5:30 p.m.
On 5/24/12 12:24 PM, Eric Sandeen wrote:
> Today, dumpe2fs for example will give this for a
> journal with JFS_FEATURE_INCOMPAT_64BIT:
> 
> Journal features:         FEATURE_I1
> 
> So fix this to show the more useful:
> 
> Journal features:         journal_64bit
> 
> Signed-off-by: Eric Sandeen <sandeen@redhat.com>

Oh, I see that this already got committed into the maint branch.

Nevermind.

> ---
> 
> diff --git a/lib/e2p/feature.c b/lib/e2p/feature.c
> index db85365..9691263 100644
> --- a/lib/e2p/feature.c
> +++ b/lib/e2p/feature.c
> @@ -104,6 +104,8 @@ static struct feature jrnl_feature_list[] = {
>  
>         {       E2P_FEATURE_INCOMPAT, JFS_FEATURE_INCOMPAT_REVOKE,
>                         "journal_incompat_revoke" },
> +       {       E2P_FEATURE_INCOMPAT, JFS_FEATURE_INCOMPAT_64BIT,
> +                       "journal_64bit" },
>         {       E2P_FEATURE_INCOMPAT, JFS_FEATURE_INCOMPAT_ASYNC_COMMIT,
>                         "journal_async_commit" },
>         {       0, 0, 0 },
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/lib/e2p/feature.c b/lib/e2p/feature.c
index db85365..9691263 100644
--- a/lib/e2p/feature.c
+++ b/lib/e2p/feature.c
@@ -104,6 +104,8 @@  static struct feature jrnl_feature_list[] = {
 
        {       E2P_FEATURE_INCOMPAT, JFS_FEATURE_INCOMPAT_REVOKE,
                        "journal_incompat_revoke" },
+       {       E2P_FEATURE_INCOMPAT, JFS_FEATURE_INCOMPAT_64BIT,
+                       "journal_64bit" },
        {       E2P_FEATURE_INCOMPAT, JFS_FEATURE_INCOMPAT_ASYNC_COMMIT,
                        "journal_async_commit" },
        {       0, 0, 0 },