[PATCH 29/31] block: always use I_BDEV on file->f_mapping->host to find the bdev

Christian Brauner brauner at kernel.org
Wed Jun 7 02:23:31 PDT 2023


On Tue, Jun 06, 2023 at 09:39:48AM +0200, Christoph Hellwig wrote:
> Always use I_BDEV(file->f_mapping->host) to find the bdev for a file to
> free up file->private_data for other uses.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> ---

Looks good to me,
Acked-by: Christian Brauner <brauner at kernel.org>



More information about the linux-mtd mailing list