]> asedeno.scripts.mit.edu Git - linux.git/commit
rbd: convert all rbd_assert(0) to BUG()
authorArnd Bergmann <arnd@arndb.de>
Fri, 22 Mar 2019 16:53:56 +0000 (17:53 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 7 May 2019 17:22:37 +0000 (19:22 +0200)
commit1680937266587906138752c2dfc80a45adb774c7
tree292a942678fc5073a03caf23858bc6065a678f6d
parentd342a15b1e8547fd033f65ce949a8d8501e5ac8f
rbd: convert all rbd_assert(0) to BUG()

rbd_assert(0) has caused different issues depending on
the compiler version in the past, so it seems better to avoid it
completely.

Replace the remaining instances.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
drivers/block/rbd.c