OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddff331
)
block: unexport revalidate_disk_size
author
Christoph Hellwig
<hch@lst.de>
Mon, 16 Nov 2020 14:57:14 +0000
(15:57 +0100)
committer
Jens Axboe
<axboe@kernel.dk>
Mon, 16 Nov 2020 15:34:15 +0000
(08:34 -0700)
revalidate_disk_size is now only called from set_capacity_and_notify,
so drop the export.
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
66ebf59
..
d8664f5
100644
(file)
--- a/
fs/block_dev.c
+++ b/
fs/block_dev.c
@@
-1362,7
+1362,6
@@
void revalidate_disk_size(struct gendisk *disk, bool verbose)
bdput(bdev);
}
}
-EXPORT_SYMBOL(revalidate_disk_size);
void bd_set_nr_sectors(struct block_device *bdev, sector_t sectors)
{