Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\fs_context.c Create Date:2022-07-28 20:13:06
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:void vfs_clean_context(struct fs_context *fc)

Type:void

Parameter:

TypeParameterName
struct fs_context *fc
722  If need_free && ops && free Then free(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  kfree(source)
730  source = NULL
732  purpose = Superblock reconfiguration (remount)
733  phase = FS_CONTEXT_AWAITING_RECONF
Caller
NameDescribe
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.