mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 04:18:39 +08:00
fd764e74e5
When allocating `struct gendisk`, `GenDiskBuilder` is using a dynamic
lock class key without registering the key. This is an incorrect use of
the API, which causes a `WARN` trace.
Fix the issue by using a static lock class key, which is more appropriate
for the situation anyway.
Fixes:
|
||
---|---|---|
.. | ||
gen_disk.rs | ||
operations.rs | ||
raw_writer.rs | ||
request.rs | ||
tag_set.rs |