Re: [PATCH] bdev: make blockdev_mnt static

From: Christoph Hellwig
Date: Wed Feb 28 2024 - 08:29:06 EST


On Tue, Feb 27, 2024 at 04:19:58PM +0800, Jiapeng Chong wrote:
> The blockdev_mnt are not used outside the file bdev.c, so the modification
> is defined as static.
>
> block/bdev.c:377:17: warning: symbol 'blockdev_mnt' was not declared. Should it be static?
>

The patch looks good:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>

> Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=8341

But I don't think kernel commit should close random bugzillas?