dm bufio: use WARN_ON in dm_bufio_client_destroy and dm_bufio_exit
authorMike Snitzer <snitzer@kernel.org>
Sat, 25 Mar 2023 01:17:43 +0000 (21:17 -0400)
committerMike Snitzer <snitzer@kernel.org>
Thu, 30 Mar 2023 19:57:50 +0000 (15:57 -0400)
commit555977dd6818da3bcf39ca5a3c1cb7e8ca4298c1
tree93d25f2402e2acc81d1e26a04bf3602cfb6e050d
parent96a2ff2a6373259cd3bbc5dcaa79865ce271fa4b
dm bufio: use WARN_ON in dm_bufio_client_destroy and dm_bufio_exit

Using BUG_ON when tearing down is excessive. Relax these to WARN_ONs.

Signed-off-by: Mike Snitzer <snitzer@kernel.org>
drivers/md/dm-bufio.c