Skip to contentSkip to conversation

block: unexport bdev_read_page and bdev_write_page

PATCH In review Christoph Hellwig 2 participants 2 messages Apr 24, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block: unexport bdev_read_page and bdev_write_page

Each one just has two calles, both in always built-in code.

---
 fs/block_dev.c | 2 --
 1 file changed, 2 deletions(-)
fs/block_dev.c +0 -2
index 998820174d3ed..5eb30a474f6d1 100644
@@ -714,7 +714,6 @@ int bdev_read_page(struct block_device *bdev, sector_t sector,
 	blk_queue_exit(bdev->bd_queue);
 	return result;
 }
-EXPORT_SYMBOL_GPL(bdev_read_page);
 
 /**
  * bdev_write_page() - Start writing a page to a block device
@@ -759,7 +758,6 @@ int bdev_write_page(struct block_device *bdev, sector_t sector,
 	blk_queue_exit(bdev->bd_queue);
 	return result;
 }
-EXPORT_SYMBOL_GPL(bdev_write_page);
 
 /*
  * pseudo-fs
Signature · 1 line
2.26.1
maintainer
#1 lore raw
Quoted 1 line · Christoph Hellwig

Each one just has two calles, both in always built-in code.

Applied for 5.8, with typo fixed.

Signature · 1 line
Jens Axboe