diff options
author | Christoph Hellwig <hch@lst.de> | 2021-08-16 16:19:05 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-08-23 21:54:30 +0300 |
commit | 4dcc4874deb41a11ece9c6e8858385235463c1ac (patch) | |
tree | a0235f9ce6be122bcab854bb1629781529bd3c98 /include/linux/percpu-refcount.h | |
parent | aebbb5831fbd5352fd9bd2c858bc249026d3c652 (diff) | |
download | linux-4dcc4874deb41a11ece9c6e8858385235463c1ac.tar.xz |
block: cleanup the lockdep handling in *alloc_disk
Pass the lockdep name to the low-level __blk_alloc_disk helper and
hardcode the name for it given that the number of minors or node_id
are not very useful information. While this passes a pointless
argument for non-lockdep builds that is not really an issue as
disk allocation is a probe time only slow path.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20210816131910.615153-5-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/percpu-refcount.h')
0 files changed, 0 insertions, 0 deletions