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
---
block/fops.c | 18 --
1 file changed, 8 insertions(+), 10 deletions(-)
Reviewed-
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
> ---
Looks good to me,
Acked-by: Christian Brauner
___
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
---
block/fops.c | 18 --
1 file changed, 8 insertions(+), 10 deletions(-)
diff --git a/block/fops.c b/block/fops.c
index 928c37a21