diff options
| author | Christian Brauner <brauner@kernel.org> | 2026-05-29 10:43:41 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-06-03 09:09:50 +0200 |
| commit | ed56dc8bbf9dfad4a5b2f8d29344594b1cf8ca27 (patch) | |
| tree | 4cca6816a190a7625333086cac93b4dc550e3f90 /drivers/platform/wmi/tests/git@git.tavy.me:linux.git | |
| parent | badb2cc8cf4aa37ecd8beda7aa5c003da93a9f74 (diff) | |
ext4: convert mballoc KUnit test to sget_fc()
Same treatment as the extents KUnit test. The mballoc test uses sget()
as a thin "give me an initialized superblock" wrapper for a fake
file_system_type. Move it onto sget_fc() so sget() can go away.
Add a no-op mbt_init_fs_context() so fs_context_for_mount() has
something to call on the fake fs_type. mbt_set() now takes a struct
fs_context * (still a no-op). mbt_ext4_alloc_super_block() allocates
the fc, hands it to sget_fc() and drops the fc reference once the sb
is published.
No functional change.
Link: https://patch.msgid.link/20260529-work-sget-v2-2-57bbe08604e4@kernel.org
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'drivers/platform/wmi/tests/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
