block: rnbd: add .release to rnbd_dev_ktype

Every ktype must provides a .release function that will be called after
the last kobject_put.

Signed-off-by: Zhu Yanjun <yanjun.zhu@linux.dev>
Reviewed-by: Md Haris Iqbal <haris.iqbal@ionos.com>
Signed-off-by: Grzegorz Prajsner <grzegorz.prajsner@ionos.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
Zhu Yanjun 2025-12-05 13:47:29 +01:00 • committed by Jens Axboe
commit 581cf833ca
2 changed files with 18 additions and 8 deletions