Skip to content
Commit ebc24337 authored by Andre Noll's avatar Andre Noll Committed by Neil Brown
Browse files

md: alloc_disk_sb(): Return proper error value.



If alloc_page() fails, ENOMEM is a more suitable error value
than EINVAL.

Signed-off-by: default avatarAndre Noll <maan@systemlinux.org>
Signed-off-by: default avatarNeil Brown <neilb@suse.de>
parent ce0c8e05
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment