summaryrefslogtreecommitdiff
path: root/include/linux/bnge/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2026-06-16 16:08:21 +0200
committerChristian Brauner <brauner@kernel.org>2026-06-29 10:31:52 +0200
commit5b1e65943b9659c014e1841b7b3820238a39eee1 (patch)
tree8a89ee9cae14c2546097a5c52ad147a77edb6e7f /include/linux/bnge/git@git.tavy.me:linux.git
parentabc410fc6d8ff4af5b37038c2db5e3b451dd2244 (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 'include/linux/bnge/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions