[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aJr90KNTe7DLKURj@infradead.org>
Date: Tue, 12 Aug 2025 01:39:44 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Rajeev Mishra <rajeevm@....com>
Cc: axboe@...nel.dk, yukuai1@...weicloud.com, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] loop: use vfs_getattr_nosec() for accurate file size
> +/**
> + * 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.
Powered by blists - more mailing lists