Re: [PATCH v7 02/15] zram: remove debugfs entry on init failure
From: Barry Song
Date: Sun Oct 25 2026 - 06:10:45 EST
On Sun, Oct 25, 2026 at 10:18 AM Sergey Senozhatsky
<senozhatsky@xxxxxxxxxxxx> wrote:
>
> Do not leak the debugfs entry when zram_init() fails to register
> the block device.
>
> Signed-off-by: Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx>
> ---
> drivers/block/zram/zram_drv.c | 1 +
> 1 file changed, 1 insertion(+)
>
Reviewed-by: Barry Song <baohua@xxxxxxxxxx>