diff options
author | Christoph Hellwig <hch@lst.de> | 2021-01-09 12:13:32 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-01-26 21:14:03 +0100 |
commit | 2c2b9fd6b496b3616e9b9537ea0258b3040914f3 (patch) | |
tree | 53e2354e2d05c6be03b615ea313626ff03bce8e0 /fs/block_dev.c | |
parent | blk: wbt: remove unused parameter from wbt_should_throttle (diff) | |
download | linux-2c2b9fd6b496b3616e9b9537ea0258b3040914f3.tar.xz linux-2c2b9fd6b496b3616e9b9537ea0258b3040914f3.zip |
block: unexport truncate_bdev_range
truncate_bdev_range is only used in always built-in block layer code,
so remove the export and the !CONFIG_BLOCK stub.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/block_dev.c')
-rw-r--r-- | fs/block_dev.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/block_dev.c b/fs/block_dev.c index 289c3dd923a4..c1fe29dac485 100644 --- a/fs/block_dev.c +++ b/fs/block_dev.c @@ -126,7 +126,6 @@ int truncate_bdev_range(struct block_device *bdev, fmode_t mode, bd_abort_claiming(bdev, truncate_bdev_range); return 0; } -EXPORT_SYMBOL(truncate_bdev_range); static void set_init_blocksize(struct block_device *bdev) { |