aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorEric Biggers <[email protected]>2023-12-27 11:14:28 -0600
committerEric Biggers <[email protected]>2023-12-27 21:55:59 -0600
commit275dca4630c165edea9abe27113766bc1173f878 (patch)
treed46277ae82ccfd3d6227bded26012e3ef8f01e56 /lib/test_fortify/write_overflow-strncpy-src.c
parentc1f1f5bf413936a93fea0f920e9aafff3551ad56 (diff)
f2fs: move release of block devices to after kill_block_super()
Call destroy_device_list() and free the f2fs_sb_info from kill_f2fs_super(), after the call to kill_block_super(). This is necessary to order it after the call to fscrypt_destroy_keyring() once generic_shutdown_super() starts calling fscrypt_destroy_keyring() just after calling ->put_super. This is because fscrypt_destroy_keyring() may call into f2fs_get_devices() via the fscrypt_operations. Reviewed-by: Chao Yu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Eric Biggers <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions