Skip to content

Commit f9c1f76

Browse files
Ye Bintytso
authored andcommitted
ext4: call deactivate_super() in extents_kunit_exit()
Call deactivate_super() is called in extents_kunit_exit() to cleanup the file system resource. Fixes: cb1e0c1 ("ext4: kunit tests for extent splitting and conversion") Signed-off-by: Ye Bin <yebin10@huawei.com> Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com> Reviewed-by: Ojaswin Mujoo <ojaswin@linux.ibm.com> Link: https://patch.msgid.link/20260330133035.287842-3-yebin@huaweicloud.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
1 parent 5941a07 commit f9c1f76

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

fs/ext4/extents-test.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ static void extents_kunit_exit(struct kunit *test)
146146
struct ext4_sb_info *sbi = sb->s_fs_info;
147147

148148
ext4_es_unregister_shrinker(sbi);
149+
deactivate_super(sbi->s_sb);
149150
kfree(sbi);
150151
kfree(k_ctx.k_ei);
151152
kfree(k_ctx.k_data);

0 commit comments

Comments
 (0)