summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-01-09 14:13:32 +0300
committerJens Axboe <axboe@kernel.dk>2021-01-26 23:14:03 +0300
commit2c2b9fd6b496b3616e9b9537ea0258b3040914f3 (patch)
tree53e2354e2d05c6be03b615ea313626ff03bce8e0 /fs
parent482e302a61f1fc62b0e13be20bc7a11a91b5832d (diff)
downloadlinux-2c2b9fd6b496b3616e9b9537ea0258b3040914f3.tar.xz
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')
-rw-r--r--fs/block_dev.c1
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)
{