RE: [PATCH v2 2/2] block/xen-blkback: allow module to be cleanly unloaded
From: Durrant, Paul
Date: Fri Nov 29 2019 - 10:07:31 EST
> -----Original Message-----
> From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
> Sent: 29 November 2019 15:00
> To: Durrant, Paul <pdurrant@xxxxxxxxxx>
> Cc: linux-block@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; xen-
> devel@xxxxxxxxxxxxxxxxxxxx; Konrad Rzeszutek Wilk
> <konrad.wilk@xxxxxxxxxx>; Jens Axboe <axboe@xxxxxxxxx>
> Subject: Re: [PATCH v2 2/2] block/xen-blkback: allow module to be cleanly
> unloaded
>
> On Fri, Nov 29, 2019 at 01:43:06PM +0000, Paul Durrant wrote:
> > Add a module_exit() to perform the necessary clean-up.
> >
> > Signed-off-by: Paul Durrant <pdurrant@xxxxxxxxxx>
>
> LGTM:
>
> Reviewed-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
>
Thanks.
> AFAICT we should make sure this is not committed before patch 1, or
> else you could unload a blkback module that's still in use?
>
Yes, that's correct.
Paul