函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\fs_context.c Create Date:2022-07-29 10:44:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Clean up a context after performing an action on it and put it into a state* from where it can be used to reconfigure a superblock

函数原型:void vfs_clean_context(struct fs_context *fc)

返回类型:void

参数:

类型参数名称
struct fs_context *fc
722  如果need_freeopsfreefree(fc)
724  need_free = false
725  fs_private = NULL
726  s_fs_info = NULL
727  sb_flags等于0
728  security_free_mnt_opts( & security)
729  释放内存
730  source = NULL
732  purpose等于 Superblock reconfiguration (remount)
733  phase等于FS_CONTEXT_AWAITING_RECONF
调用者
名称描述
vfs_fsconfig_lockedCheck the state and apply the configuration. Note that this function is* allowed to 'steal' the value by setting param->xxx to NULL before returning.