David Woodhouse wrote:

http://git.infradead.org/users/dwmw2/btrfs-raid56.git


Signed-off-by: jim owens <[email protected]>
---
 fs/btrfs/volumes.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
index 95babc1..913c29f 100644
--- a/fs/btrfs/volumes.c
+++ b/fs/btrfs/volumes.c
@@ -2895,7 +2895,7 @@ again:
                multi->num_stripes = num_stripes;
                multi->max_errors = max_errors;
        }
-       if (raid_map_ret) {
+       if (raid_map) {
                sort_parity_stripes(multi, raid_map);
                *raid_map_ret = raid_map;
        }
--
1.5.6.3

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

Reply via email to