commit | ebc243372842a81dddbe00bd047a25b8ee7d8b87 | [log] [tgz] |
---|---|---|
author | Andre Noll <maan@systemlinux.org> | Fri Jul 11 22:02:20 2008 +1000 |
committer | Neil Brown <neilb@suse.de> | Fri Jul 11 22:02:20 2008 +1000 |
tree | 8c362c91d8628b1362b7abb8abcd0a1e7ca7803c | |
parent | ce0c8e05f8ef93d991d665aade8c4bf35806ea1a [diff] |
md: alloc_disk_sb(): Return proper error value. If alloc_page() fails, ENOMEM is a more suitable error value than EINVAL. Signed-off-by: Andre Noll <maan@systemlinux.org> Signed-off-by: Neil Brown <neilb@suse.de>