]> Git Repo - linux.git/commit
btrfs: replace EINVAL with EOPNOTSUPP for dev_replace raid56
authorGui Hecheng <[email protected]>
Thu, 5 Jun 2014 02:02:51 +0000 (10:02 +0800)
committerChris Mason <[email protected]>
Tue, 10 Jun 2014 00:21:12 +0000 (17:21 -0700)
commitc81d57679ee4b87a5b50e9afe4e5d1866d08b9ad
tree3aa34ebc64c9c1233752a01918f80c0c8f0baefd
parent9391558411e89915f7f7c5c996d3091eced1a0ef
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 <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
fs/btrfs/dev-replace.c
This page took 0.050028 seconds and 4 git commands to generate.