From 49c41aa984001e970c796ce740548fa6f220e573 Mon Sep 17 00:00:00 2001 From: Gleb Chesnokov Date: Fri, 12 Dec 2025 13:35:29 +0300 Subject: [PATCH] scst_lib: Use bdev_fput() to release bdev files See also upstream commit 22650a99821d ("fs,block: yield devices early") # v6.9. --- scst/src/scst_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scst/src/scst_lib.c b/scst/src/scst_lib.c index eb7f70daa..d9e9f6d57 100644 --- a/scst/src/scst_lib.c +++ b/scst/src/scst_lib.c @@ -6135,7 +6135,7 @@ void scst_release_bdev(struct scst_bdev_descriptor *bdev_desc) struct file *bdev_file = bdev_desc->priv; if (bdev_file) - fput(bdev_file); + bdev_fput(bdev_file); #endif bdev_desc->bdev = NULL;