aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorAlvin Sun <alvin.sun@linux.dev>2026-09-29 11:34:03 +0200
committerJens Axboe <axboe@kernel.dk>2026-09-29 05:46:56 -0600
commit67a11f2e076016f054dc4a4a637d9b37530b7908 (patch)
tree2cf11d60bb8e9c495f0778743a831e11159a3865 /scripts/Makefile.thinlto
parentrust: block: fix `Send` bound for `GenDisk` (diff)
rust: block: gen_disk: set fops.owner from driver module pointer
Set `fops.owner` from the driver module pointer via `this_module::<T::OwnerModule>().as_ptr()` instead of defaulting to null, so the module cannot be unloaded while a block device is still in use. Signed-off-by: Alvin Sun <alvin.sun@linux.dev> Link: https://msgid.link/20260811-fix-gendisk-owner-v1-1-c0fe4a449ecb@linux.dev Signed-off-by: Andreas Hindborg <a.hindborg@kernel.org> Link: https://patch.msgid.link/20260929-rust-block-for-v7-4-rc1-b4-v1-5-642a4c1aebd7@kernel.org Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions