loop: do not print warn message if partition scan is successful
authorDongli Zhang <dongli.zhang@oracle.com>
Fri, 22 Feb 2019 14:10:19 +0000 (22:10 +0800)
committerJens Axboe <axboe@kernel.dk>
Fri, 22 Feb 2019 22:51:21 +0000 (15:51 -0700)
commit40853d6fc619a6fd3d3177c3973a2eac9b598a80
tree912737aa171d5325264067697364fcdd811e2fd2
parent8f4e80da764ec1ca44c83f3e17dbc9bf0209bccc
loop: do not print warn message if partition scan is successful

Do not print warn message when the partition scan returns 0.

Fixes: d57f3374ba48 ("loop: Move special partition reread handling in loop_clr_fd()")
Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/loop.c