[PATCH 1/3] loop: drop a stale reference to loop_validate_size()
From: Tao Cui
Date: Tue Aug 25 2026 - 09:03:06 EST
From: Tao Cui <cuitao@xxxxxxxxxx>
The kerneldoc of loop_set_size() points readers at loop_validate_size(),
which does not exist in the tree. Drop the reference.
Signed-off-by: Tao Cui <cuitao@xxxxxxxxxx>
---
drivers/block/loop.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/block/loop.c b/drivers/block/loop.c
index 6f12976035b0..68a9cc7aeb13 100644
--- a/drivers/block/loop.c
+++ b/drivers/block/loop.c
@@ -212,9 +212,6 @@ static inline void loop_update_dio(struct loop_device *lo)
* loop_set_size() - sets device size and notifies userspace
* @lo: struct loop_device to set the size for
* @size: new size of the loop device
- *
- * Callers must validate that the size passed into this function fits into
- * a sector_t, eg using loop_validate_size()
*/
static void loop_set_size(struct loop_device *lo, loff_t size)
{
--
2.43.0