]> git.baikalelectronics.ru Git - kernel.git/commit
block: mark invalidate_partition static
authorChristoph Hellwig <hch@lst.de>
Tue, 14 Apr 2020 07:29:01 +0000 (09:29 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 20 Apr 2020 17:32:59 +0000 (11:32 -0600)
commitfd69b400a3ff712bb58cd70639897c03d15a68ee
treed62f65fb13361e75e3babadaa8c5a5da916fd765
parentc9be08e58e9996ee8fc4271f1932bda6b5097632
block: mark invalidate_partition static

invalidate_partition is only used in genhd.c, so mark it static.  Also
drop the return value given that is is always ignored.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/genhd.c
include/linux/fs.h