[PATCH] don't OOPs when we are not raid56

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



David Woodhouse wrote:

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


Signed-off-by: jim owens <jowens@xxxxxx>
---
 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux