summaryrefslogtreecommitdiff
path: root/fs/namei.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2023-12-27 20:14:28 +0300
committerEric Biggers <ebiggers@google.com>2023-12-28 06:55:59 +0300
commit275dca4630c165edea9abe27113766bc1173f878 (patch)
treed46277ae82ccfd3d6227bded26012e3ef8f01e56 /fs/namei.c
parentc1f1f5bf413936a93fea0f920e9aafff3551ad56 (diff)
downloadlinux-275dca4630c165edea9abe27113766bc1173f878.tar.xz
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 <chao@kernel.org> Link: https://lore.kernel.org/r/20231227171429.9223-2-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'fs/namei.c')
0 files changed, 0 insertions, 0 deletions