"...0d0cea2424ae97b27447dc64a7dbfae83c036c45b403392f0e8ba.png" did not exist on "bc0c36d3c831b5f33ca0dab39535f5deb8c55b62"
md: check the return of mddev_find()
Check the return of mddev_find(), since it may fail due to out of memeory or out of usable minor number. The reason I chose -ENODEV instead of -ENOMEM or something else is md_alloc() function chose that ;) Signed-off-by:Yuanhan Liu <yuanhan.liu@linux.intel.com> Signed-off-by:
NeilBrown <neilb@suse.de>
Loading
Please register or sign in to comment