Re: [PATCH] loop: Make user notify for adding loop device failed

2016-07-12 Thread Jens Axboe
On 06/06/2016 07:05 PM, Minfei Huang wrote: 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. Sorry about the delay, vacation got in the way. Added for 4.8, thanks. -- Jens Axboe

Re: [PATCH] loop: Make user notify for adding loop device failed

2016-07-12 Thread Jens Axboe
On 06/06/2016 07:05 PM, Minfei Huang wrote: 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. Sorry about the delay, vacation got in the way. Added for 4.8, thanks. -- Jens Axboe

Re: [PATCH] loop: Make user notify for adding loop device failed

2016-06-07 Thread Jeff Moyer
Minfei Huang writes: > 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 > --- > drivers/block/loop.c | 1 +

Re: [PATCH] loop: Make user notify for adding loop device failed

2016-06-07 Thread Jeff Moyer
Minfei Huang writes: > 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 > --- > drivers/block/loop.c | 1 + > 1 file changed, 1 insertion(+) > >

Re: [PATCH] loop: Make user notify for adding loop device failed

2016-06-06 Thread Ming Lei
On Tue, Jun 7, 2016 at 10:05 AM, Minfei Huang wrote: > 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

Re: [PATCH] loop: Make user notify for adding loop device failed

2016-06-06 Thread Ming Lei
On Tue, Jun 7, 2016 at 10:05 AM, Minfei Huang wrote: > 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 Good catch! Reviewed-by: Ming Lei >

[PATCH] loop: Make user notify for adding loop device failed

2016-06-06 Thread Minfei Huang
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 --- drivers/block/loop.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH] loop: Make user notify for adding loop device failed

2016-06-06 Thread Minfei Huang
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 --- drivers/block/loop.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/block/loop.c