loop: fix error return code in loop_add()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 22 Mar 2013 14:59:19 +0000 (08:59 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 22 Mar 2013 14:59:19 +0000 (08:59 -0600)
Fix to return a negative error code from the error handling
case, as returned elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/loop.c

Simple merge