Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:synchronous analog of fput(); for kernel threads that might be needed* in some umount() (and thus can't use flush_delayed_fput() without* risking deadlocks), need to wait for completion of __fput() and know* for this specific struct file it won't involve

Proto:void __fput_sync(struct file *file)

Type:void

Parameter:

TypeParameterName
struct file *file
370  If atomic_long_dec_and_test( & f_count) Then
371  task = current process
372  BUG_ON(!(flags & I am a kernel thread ))
373  he real guts of fput() - releasing the last reference to file