diff options
author | Andre Noll <maan@systemlinux.org> | 2008-07-11 22:02:20 +1000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2008-07-11 22:02:20 +1000 |
commit | ebc243372842a81dddbe00bd047a25b8ee7d8b87 (patch) | |
tree | 8c362c91d8628b1362b7abb8abcd0a1e7ca7803c /drivers/mtd/Kconfig | |
parent | ce0c8e05f8ef93d991d665aade8c4bf35806ea1a (diff) | |
download | linux-stable-ebc243372842a81dddbe00bd047a25b8ee7d8b87.tar.gz linux-stable-ebc243372842a81dddbe00bd047a25b8ee7d8b87.tar.bz2 linux-stable-ebc243372842a81dddbe00bd047a25b8ee7d8b87.zip |
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>
Diffstat (limited to 'drivers/mtd/Kconfig')
0 files changed, 0 insertions, 0 deletions