diff options
| author | Johan Hovold <johan@kernel.org> | 2026-04-24 12:39:31 +0200 |
|---|---|---|
| committer | Ilya Dryomov <idryomov@gmail.com> | 2026-06-22 22:27:12 +0200 |
| commit | e5c6b06a97c88227da49874d805393f960b661c6 (patch) | |
| tree | 189fe3279c806cb0a0823ae36dac065372a0e54e /scripts/sbom/tests/git@git.tavy.me:linux.git | |
| parent | 8cd9520d35a6c38db6567e97dd93b1f11f185dc6 (diff) | |
rbd: switch to dynamic root device
Driver core expects devices to be dynamically allocated and will, for
example, complain loudly when no release function has been provided.
Use root_device_register() to allocate and register the root device
instead of open coding using a static device.
Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'scripts/sbom/tests/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
