]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
rbd: remove unnecessary asserts in rbd_dev_image_probe()
authorIlya Dryomov <ilya.dryomov@inktank.com>
Wed, 23 Jul 2014 13:11:20 +0000 (17:11 +0400)
committerIlya Dryomov <ilya.dryomov@inktank.com>
Fri, 25 Jul 2014 09:15:18 +0000 (13:15 +0400)
commit7626eb7d82e4f1bd008e0a0bb534704d02a39832
tree4fab13ed3069fe84500a6b00c128d21f33ab2a6b
parenta720ae0901eddab5c94a17402b7ed29e1afb5003
rbd: remove unnecessary asserts in rbd_dev_image_probe()

spec->image_id assert doesn't buy us much and image_format is asserted
in rbd_dev_header_name() and rbd_dev_header_info() anyway.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Alex Elder <elder@linaro.org>
drivers/block/rbd.c