Files
linux/fs/f2fs
Eric Biggers c919330dd5 f2fs: fix double free of f2fs_sb_info
kill_f2fs_super() is called even if f2fs_fill_super() fails.
f2fs_fill_super() frees the struct f2fs_sb_info, so it must set
sb->s_fs_info to NULL to prevent it from being freed again.

Fixes: 275dca4630 ("f2fs: move release of block devices to after kill_block_super()")
Reported-by:  <[email protected]>
Closes: https://lore.kernel.org/lkml/[email protected]
Reviewed-by: Chao Yu <[email protected]>
Link: https://lore.kernel.org/linux-f2fs-devel/[email protected]
Signed-off-by: Eric Biggers <[email protected]>
2024-01-12 18:55:09 -08:00
..
2023-01-19 09:24:27 +01:00
2023-10-18 13:26:22 +02:00
2023-08-02 09:13:09 -06:00
2021-08-23 10:25:51 -07:00
2023-10-16 12:51:37 -07:00
2024-01-12 18:55:09 -08:00