diff options
| author | 2026-06-16 16:08:21 +0200 | |
|---|---|---|
| committer | 2026-06-29 10:31:52 +0200 | |
| commit | 5b1e65943b9659c014e1841b7b3820238a39eee1 (patch) | |
| tree | 8a89ee9cae14c2546097a5c52ad147a77edb6e7f /scripts/Makefile.thinlto | |
| parent | fs, block: move blk_mode_t and fop_flags_t into <linux/types.h> (diff) | |
ext4: use anonymous devices for KUnit test superblocks
The mballoc and extents KUnit tests create superblocks through
sget_fc() with a set callback that never assigns s_dev and a kill_sb
that only calls generic_shutdown_super().
The upcoming global device-to-superblock table registers every
superblock under its s_dev, so each superblock needs a unique device
number. Allocate a proper anonymous device via set_anon_super_fc() and
release it through kill_anon_super().
Link: https://patch.msgid.link/20260616-work-super-bdev_holder_global-v2-5-7df6b864028e@kernel.org
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
