From: Gui Hecheng Date: Thu, 5 Jun 2014 02:02:51 +0000 (+0800) Subject: btrfs: replace EINVAL with EOPNOTSUPP for dev_replace raid56 X-Git-Tag: omap-for-v3.16/fixes-against-rc1~54^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c81d57679ee4b87a5b50e9afe4e5d1866d08b9ad;p=pandora-kernel.git 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 Signed-off-by: Chris Mason --- Reading git-diff-tree failed