Skip to contentSkip to conversation

block: Fix the thaw_bdev reference in bdev_freeze() kernel-doc

PATCH Applied Karl Mehltretter 4 participants 4 messages Sep 11 – Sep 15 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block: Fix the thaw_bdev reference in bdev_freeze() kernel-doc

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
---
 block/bdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
block/bdev.c +1 -1
index cd8323083740604da145563aa8e7b55c4f627467..fac74319e9fbacc9cf2bec4a4b043b837a9678ab 100644
@@ -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.
Signature · 1 line
2.39.5 (Apple Git-154)
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Karl Mehltretter

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

Not sure why I'm on this, but this is correct so

--D

Quoted 20 lines
---
 block/bdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
block/bdev.c +1 -1
index cd8323083740604da145563aa8e7b55c4f627467..fac74319e9fbacc9cf2bec4a4b043b837a9678ab 100644
@@ -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.
Signature · 1 line
2.39.5 (Apple Git-154)
Reviewed-by
#2 lore raw
Quoted 11 lines · Darrick J. Wong
Quoted 7 lines · Karl Mehltretter

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

Not sure why I'm on this, but this is correct so

(Questionable privilege of having been around long enough? ;))

maintainer Applied
#3 lore raw
In reply to Karl Mehltretter
Quoted 3 lines · Karl Mehltretter

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.

Applied, thanks!

[1/1] block: Fix the thaw_bdev reference in bdev_freeze() kernel-doc

      commit: e14c3379be86854c203de1e0fdfdeaa0b45509df

Best regards,

Signature · 1 line
Jens Axboe