Re: [PATCH] bdev: make blockdev_mnt static

From: John Garry
Date: Thu May 09 2024 - 09:31:37 EST


+

On 28/02/2024 14:21, Jens Axboe wrote:
On 2/27/24 1:19 AM, 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?

What is this against?


Please note I see this issue on your 6.9 block branch today @

fd379c13fc0 (HEAD, block/block-6.9) block: set default max segment
size in case of virt_boundary

And I think that it fixes 8f3a608827d1, so

Fixes: 8f3a608827d1 ("bdev: open block device as files")
Tested-by: John Garry <john.g.garry@xxxxxxxxxx>