aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/delayed-inode.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2021-09-27 14:15:10 +0200
committerJessica Yu <[email protected]>2021-09-28 12:56:26 +0200
commit0d67e332e6df72f43eaa21228daa3a79e23093f3 (patch)
treee505434bc0f6f90b23ab60d6d9bf8c54cba50466 /fs/btrfs/delayed-inode.c
parent5816b3e6577eaa676ceb00a848f0fd65fe2adc29 (diff)
module: fix clang CFI with MODULE_UNLOAD=n
When CONFIG_MODULE_UNLOAD is disabled, the module->exit member is not defined, causing a build failure: kernel/module.c:4493:8: error: no member named 'exit' in 'struct module' mod->exit = *exit; add an #ifdef block around this. Fixes: cf68fffb66d6 ("add support for Clang CFI") Acked-by: Kees Cook <[email protected]> Reviewed-by: Sami Tolvanen <[email protected]> Reviewed-by: Miroslav Benes <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Jessica Yu <[email protected]>
Diffstat (limited to 'fs/btrfs/delayed-inode.c')
0 files changed, 0 insertions, 0 deletions