All of lore.kernel.org
 help / color / mirror / Atom feed
From: jim owens <jowens@hp.com>
To: David Woodhouse <dwmw2@infradead.org>
Cc: linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: [PATCH] don't OOPs when we are not raid56
Date: Wed, 02 Sep 2009 12:32:00 -0400	[thread overview]
Message-ID: <4A9E9E00.5080608@hp.com> (raw)
In-Reply-To: <1249658554.568.214.camel@macbook.infradead.org>

David Woodhouse wrote:

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


Signed-off-by: jim owens <jowens@hp.com>
---
  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


  reply	other threads:[~2009-09-02 16:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-06 10:17 RAID[56] status David Woodhouse
2009-08-07  9:43 ` Roy Sigurd Karlsbakk
2009-08-07 15:22   ` David Woodhouse
2009-09-02 16:32     ` jim owens [this message]
2009-09-08  9:15       ` [PATCH] don't OOPs when we are not raid56 David Woodhouse
2009-09-08 13:48         ` Chris Mason
2009-11-10 19:51 ` RAID[56] status Dan Williams
2009-11-10 20:05   ` Tomasz Torcz
2009-11-10 20:11   ` Chris Mason
2009-11-10 21:06   ` tsuraan
2009-11-10 21:20     ` Gregory Maxwell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A9E9E00.5080608@hp.com \
    --to=jowens@hp.com \
    --cc=dwmw2@infradead.org \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.