aboutsummaryrefslogtreecommitdiffstats
path: root/ioctl.h
diff options
context:
space:
mode:
authorWang Shilong <wangsl.fnst@cn.fujitsu.com>2013-09-09 14:08:12 +0800
committerChris Mason <chris.mason@fusionio.com>2013-10-16 08:20:42 -0400
commit1425caef053a45ed4e7e96f0d0342566eb6c1fe8 (patch)
treeb0aade1010d2cab1305a615668062e3266ddf875 /ioctl.h
parent03e95396153d325caa01c33d5664ef0aefe7944d (diff)
downloadbtrfs-progs-1425caef053a45ed4e7e96f0d0342566eb6c1fe8.tar.gz
btrfs-progs-1425caef053a45ed4e7e96f0d0342566eb6c1fe8.tar.xz
btrfs-progs-1425caef053a45ed4e7e96f0d0342566eb6c1fe8.zip
Btrfs-progs: fix typo in btrfs_err_str()
Raid5 and raid6 at least need three and foure devices respectively, fix it. Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'ioctl.h')
-rw-r--r--ioctl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ioctl.h b/ioctl.h
index b1e3f1c..a589cd7 100644
--- a/ioctl.h
+++ b/ioctl.h
@@ -480,9 +480,9 @@ static inline char *btrfs_err_str(enum btrfs_err_code err_code)
case BTRFS_ERROR_DEV_RAID10_MIN_NOT_MET:
return "unable to go below four devices on raid10";
case BTRFS_ERROR_DEV_RAID5_MIN_NOT_MET:
- return "unable to go below two devices on raid5";
+ return "unable to go below three devices on raid5";
case BTRFS_ERROR_DEV_RAID6_MIN_NOT_MET:
- return "unable to go below three devices on raid6";
+ return "unable to go below four devices on raid6";
case BTRFS_ERROR_DEV_TGT_REPLACE:
return "unable to remove the dev_replace target dev";
case BTRFS_ERROR_DEV_MISSING_NOT_FOUND: