commit | c81d57679ee4b87a5b50e9afe4e5d1866d08b9ad | [log] [tgz] |
---|---|---|
author | Gui Hecheng <guihc.fnst@cn.fujitsu.com> | Thu Jun 05 10:02:51 2014 +0800 |
committer | Chris Mason <clm@fb.com> | Mon Jun 09 17:21:12 2014 -0700 |
tree | 3aa34ebc64c9c1233752a01918f80c0c8f0baefd | |
parent | 9391558411e89915f7f7c5c996d3091eced1a0ef [diff] |
btrfs: replace EINVAL with EOPNOTSUPP for dev_replace raid56 To return EOPNOTSUPP is more user friendly than to return EINVAL, and then user-space tool will show that the dev_replace operation for raid56 is not currently supported rather than showing that there is an invalid argument. Signed-off-by: Gui Hecheng <guihc.fnst@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>