diff options
author | Christoph Hellwig <hch@lst.de> | 2020-09-21 09:19:58 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-09-23 18:43:19 +0200 |
commit | 1fb1a2ad75e33e646d33e42b9ed17d879d472859 (patch) | |
tree | 6019e5cf502bb498730b9abaf3fec19b61db2112 /fs | |
parent | PM: mm: cleanup swsusp_swap_check (diff) | |
download | linux-1fb1a2ad75e33e646d33e42b9ed17d879d472859.tar.xz linux-1fb1a2ad75e33e646d33e42b9ed17d879d472859.zip |
block: mark blkdev_get static
There are no users outside the core block code left now.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/block_dev.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/block_dev.c b/fs/block_dev.c index 2898d69be6b3..6b9d19ffa5af 100644 --- a/fs/block_dev.c +++ b/fs/block_dev.c @@ -1616,7 +1616,7 @@ static int __blkdev_get(struct block_device *bdev, fmode_t mode, void *holder, * RETURNS: * 0 on success, -errno on failure. */ -int blkdev_get(struct block_device *bdev, fmode_t mode, void *holder) +static int blkdev_get(struct block_device *bdev, fmode_t mode, void *holder) { int ret, perm = 0; @@ -1637,7 +1637,6 @@ bdput: bdput(bdev); return ret; } -EXPORT_SYMBOL(blkdev_get); /** * blkdev_get_by_path - open a block device by name |