drbd: remove call to memset before free device/resource/connection
authorWang ShaoBo <bobo.shaobowang@huawei.com>
Thu, 24 Nov 2022 01:58:16 +0000 (09:58 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 24 Nov 2022 13:42:22 +0000 (06:42 -0700)
commit6e7b854e4c1b02dba00760dfa79d8dbf6cce561e
treebca04985d408f4166a209d6641817edc8716e35c
parent015d02f48537cf2d1a65eeac50717566f9db6eec
drbd: remove call to memset before free device/resource/connection

This revert c2258ffc56f2 ("drbd: poison free'd device, resource and
connection structs"), add memset is odd here for debugging, there are
some methods to accurately show what happened, such as kdump.

Signed-off-by: Wang ShaoBo <bobo.shaobowang@huawei.com>
Link: https://lore.kernel.org/r/20221124015817.2729789-2-bobo.shaobowang@huawei.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/drbd/drbd_main.c