commit | 7a6497378ae832daa1668a10be04ebdacd60468b | [log] [tgz] |
---|---|---|
author | Minfei Huang <mnghuan@gmail.com> | Tue Jun 07 10:05:15 2016 +0800 |
committer | Jens Axboe <axboe@fb.com> | Tue Jul 12 16:17:18 2016 -0700 |
tree | 33eaf46fb37aa7019fc9ab9fab1c4e8db880317f | |
parent | 6eae8c45206733ba3a56b4f9e278774ad397b092 [diff] |
loop: Make user notify for adding loop device failed There is no error number returned if loop driver fails in function alloc_disk to add new loop device. Add a correct error number to make user notify in this case. Signed-off-by: Minfei Huang <mnghuan@gmail.com> Reviewed-by: Ming Lei <tom.leiming@gmail.com> Reviewed-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Jens Axboe <axboe@fb.com>