]> www.infradead.org Git - nvme.git/commit
bdev: make blockdev_mnt static
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Fri, 14 Jun 2024 09:03:43 +0000 (09:03 +0000)
committerJens Axboe <axboe@kernel.dk>
Sun, 16 Jun 2024 21:29:55 +0000 (15:29 -0600)
commitd9c2332199d073c5edd7163d64fbdee6224d8c08
treede21bc269fb012a6bed3b3287f752e4fb77c86d1
parenteaa3706fedc6a4142c251b2d4005d850caeabe50
bdev: make blockdev_mnt static

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?

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
jpg: Remove closes bugzilla link
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Fixes: 8f3a608827d1 ("bdev: open block device as files")
Tested-by: John Garry <john.g.garry@oracle.com>
Link: https://lore.kernel.org/r/20240614090345.655716-2-john.g.garry@oracle.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bdev.c