projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7818ae
)
block: unexport get_gendisk
author
Christoph Hellwig
<hch@lst.de>
Wed, 25 Mar 2020 15:48:39 +0000
(16:48 +0100)
committer
Jens Axboe
<axboe@kernel.dk>
Wed, 25 Mar 2020 15:50:08 +0000
(09:50 -0600)
get_gendisk is not used by any modular code.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/genhd.c
patch
|
blob
|
history
diff --git
a/block/genhd.c
b/block/genhd.c
index
1e4855c
..
6323cc7
100644
(file)
--- a/
block/genhd.c
+++ b/
block/genhd.c
@@
-980,7
+980,6
@@
struct gendisk *get_gendisk(dev_t devt, int *partno)
}
return disk;
}
-EXPORT_SYMBOL(get_gendisk);
/**
* bdget_disk - do bdget() by gendisk and partition number