[PATCH 29/31] block: always use I_BDEV on file->f_mapping->host to find the bdev
Hannes Reinecke
hare at suse.de
Wed Jun 7 06:11:34 PDT 2023
On 6/6/23 09:39, 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>
> ---
> block/fops.c | 18 ++++++++----------
> 1 file changed, 8 insertions(+), 10 deletions(-)
>
Reviewed-by: Hannes Reinecke <hare at suse.de>
Cheers,
Hannes
More information about the Linux-nvme
mailing list