Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:exit_fs

Proto:void exit_fs(struct task_struct *tsk)

Type:void

Parameter:

TypeParameterName
struct task_struct *tsk
97  fs = Filesystem information:
99  If fs Then
101  Protects ->fs, ->files, ->mm, ->group_info, ->comm, keyring* subscriptions and synchronises with wait4(). Also used in procfs. Also* pins the final release of task.io_context. Also protects ->cpuset and* ->cgroup.subsys[]. And ->vfork_done.
102  spin_lock( & lock)
103  Filesystem information: = NULL
104  kill = Not --users
105  spin_unlock( & lock)
106  task_unlock(tsk)
107  If kill Then free_fs_struct(fs)
Caller
NameDescribe
do_exit