]> 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)
commit652caaa74837729cd92434bb5495f5c3036aeb6d
treed62f65fb13361e75e3babadaa8c5a5da916fd765
parent98bdd66ccae4f9efb28c188809639ee77d63cbbe
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