xfs
[Top] [All Lists]

Re: [PATCH 2/2 v3] xfs_repair: new secondary superblock search method

To: xfs@xxxxxxxxxxx
Subject: Re: [PATCH 2/2 v3] xfs_repair: new secondary superblock search method
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Fri, 12 Feb 2016 08:18:38 -0600
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <56BD2500.4080708@xxxxxxxxxxx>
References: <1455130218-8683-1-git-send-email-billodo@xxxxxxxxxx> <56BD2500.4080708@xxxxxxxxxxx>
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.5.1

On 2/11/16 6:19 PM, Eric Sandeen wrote:
> Hi Bill, looks like this is a diff on top of your prior patch,
> not a standalone patch.  It's modifying (not creating) libxcmd/topology.c,
> which doesn't exist upstream yet.

Sorry, I apologize - this was patch 2 of 2, and I didn't have patch 1
applied.  It's easier to spot dependencies when a series stays properly
threaded, though.  :)

And best to not fix issues with patch 1 in patch 2; just fix things
in the original patch which introduced it.

i.e. this:

--- a/libxcmd/topology.c
+++ b/libxcmd/topology.c
@@ -192,7 +192,8 @@ out:
        return ret;
 }
 
-static void blkid_get_topology(
+static void
+blkid_get_topology(
        const char      *device,
        int             *sunit,
        int             *swidth,
@@ -284,7 +285,8 @@ check_overwrite(
        return 1;
 }

should all just be formatted as you want it in patch 1.

Thanks,
-Eric

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