Re: [PATCH 06/19] qibfs: use simple_release_fs

From: Leon Romanovsky
Date: Mon Sep 18 2023 - 07:42:22 EST


On Wed, Sep 13, 2023 at 08:10:00AM -0300, Christoph Hellwig wrote:
> qibfs currently has convoluted code to allow registering HCAs while qibfs
> is not mounted and vice versa. Switch to using simple_release_fs every
> time an entry is added to pin the fs instance and remove all the boiler
> plate code.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> ---
> drivers/infiniband/hw/qib/qib.h | 4 +-
> drivers/infiniband/hw/qib/qib_fs.c | 105 ++++++---------------------
> drivers/infiniband/hw/qib/qib_init.c | 32 +++-----
> 3 files changed, 36 insertions(+), 105 deletions(-)
>

Thanks,
Reviewed-by: Leon Romanovsky <leon@xxxxxxxxxx>