Skip to content
Commit 2b69c839 authored by NeilBrown's avatar NeilBrown
Browse files

md: improve errno return when setting array_size



Instead of always returns EINVAL if anything goes wrong
when setting the array size, add the option of
  E2BIG
if the size requested is too large.  This makes it easier
for user-space to be sure what went wrong.

Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent 62e1e389
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment