Re: [PATCH v2] loop: use vfs_getattr_nosec() for accurate file size
From: Christoph Hellwig
Date: Tue Aug 12 2025 - 04:49:28 EST
> +/**
> + * get_size - calculate the effective size of a loop device
> + * @offset: offset into the backing file
> + * @sizelimit: user-specified size limit
> + * @file: the backing file
> + *
> + * Calculate the effective size of the loop device
> + *
> + * Returns: size in 512-byte sectors, or 0 if invalid
> + */
A kerneldoc comment for an internal helper is still a bad idea.