summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorZhangGuoDong <zhangguodong@kylinos.cn>2026-07-31 11:50:07 +0000
committerNamjae Jeon <linkinjeon@kernel.org>2026-08-17 15:00:59 +0900
commitf43cbe3b58ce989ce420c3bc875d48e7754c8aba (patch)
tree6449c361e9094b17843024b31aa7057e5f9a51f5 /scripts/stackusage
parentdb97f3763727d652112ae70038d4e17b3ce277bb (diff)
downloadlinux-f43cbe3b58ce989ce420c3bc875d48e7754c8aba.tar.gz
linux-f43cbe3b58ce989ce420c3bc875d48e7754c8aba.zip
smb/server: call ksmbd_proc_cleanup() on module init failure
When a later initializer fails, the unwind chain releases resources created after procfs and then jumps directly to class_unregister(). Returning an error from module_init() leaves the proc tree and its per-CPU counters allocated. Fixes: b38f99c1217a ("ksmbd: add procfs interface for runtime monitoring and statistics") Signed-off-by: ZhangGuoDong <zhangguodong@kylinos.cn> Reviewed-by: ChenXiaoSong <chenxiaosong@kylinos.cn> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions