projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdf8710
)
block: unexport bdev_read_page and bdev_write_page
author
Christoph Hellwig
<hch@lst.de>
Fri, 24 Apr 2020 10:56:34 +0000
(12:56 +0200)
committer
Jens Axboe
<axboe@kernel.dk>
Fri, 24 Apr 2020 15:16:33 +0000
(09:16 -0600)
Each one just has two callers, both in always built-in code.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/block_dev.c
patch
|
blob
|
history
diff --git
a/fs/block_dev.c
b/fs/block_dev.c
index
9988201
..
5eb30a4
100644
(file)
--- a/
fs/block_dev.c
+++ b/
fs/block_dev.c
@@
-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