summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorAndre Noll <maan@systemlinux.org>2008-07-11 22:02:20 +1000
committerNeil Brown <neilb@suse.de>2008-07-11 22:02:20 +1000
commitebc243372842a81dddbe00bd047a25b8ee7d8b87 (patch)
tree8c362c91d8628b1362b7abb8abcd0a1e7ca7803c /include/media
parentce0c8e05f8ef93d991d665aade8c4bf35806ea1a (diff)
downloadlinux-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 'include/media')
0 files changed, 0 insertions, 0 deletions