OSDN Git Service

btrfs: fix ncopies raid_attr for RAID56
authorHans van Kranenburg <hans.van.kranenburg@mendix.com>
Thu, 4 Oct 2018 21:24:41 +0000 (23:24 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 17 Dec 2018 13:51:33 +0000 (14:51 +0100)
commitda612e31aee51bd13231c78a47c714b543bd3ad8
treec1fa821af6de2cc933cc391ef4e5cb68deff1013
parentbaf92114c7e6dd6124aa3d506e4bc4b694da3bc3
btrfs: fix ncopies raid_attr for RAID56

RAID5 and RAID6 profile store one copy of the data, not 2 or 3. These
values are not yet used anywhere so there's no change.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Hans van Kranenburg <hans.van.kranenburg@mendix.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c