Re: [PATCH] block: Fix the thaw_bdev reference in bdev_freeze() kernel-doc

From: Darrick J. Wong

Date: Fri Sep 11 2026 - 19:55:38 EST


On Sat, Sep 12, 2026 at 01:34:14AM +0200, Karl Mehltretter wrote:
> The kernel-doc comment of bdev_freeze() refers to thaw_bdev, which was
> renamed to bdev_thaw by commit 982c3b305843 ("bdev: rename freeze and
> thaw helpers"). Say bdev_thaw.
>
> Fixes: 982c3b305843 ("bdev: rename freeze and thaw helpers")
> Assisted-by: LLM
> Signed-off-by: Karl Mehltretter <kmehltretter@xxxxxxxxx>

Not sure why I'm on this, but this is correct so
Reviewed-by: "Darrick J. Wong" <djwong@xxxxxxxxxx>

--D

> ---
> block/bdev.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/block/bdev.c b/block/bdev.c
> index cd8323083740604da145563aa8e7b55c4f627467..fac74319e9fbacc9cf2bec4a4b043b837a9678ab 100644
> --- a/block/bdev.c
> +++ b/block/bdev.c
> @@ -292,7 +292,7 @@ EXPORT_SYMBOL(sync_blockdev_range);
> * The reference counter (bd_fsfreeze_count) guarantees that only the last
> * unfreeze process can unfreeze the frozen filesystem actually when multiple
> * freeze requests arrive simultaneously. It counts up in bdev_freeze() and
> - * count down in bdev_thaw(). When it becomes 0, thaw_bdev() will unfreeze
> + * count down in bdev_thaw(). When it becomes 0, bdev_thaw() will unfreeze
> * actually.
> *
> * Return: On success zero is returned, negative error code on failure.
> --
> 2.39.5 (Apple Git-154)
>