Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Variant of alloc_empty_file() that doesn't check and modify nr_files.* Should not be used unless there's a very good reason to do so.

Proto:struct file *alloc_empty_file_noaccount(int flags, const struct cred *cred)

Type:struct file

Parameter:

TypeParameterName
intflags
const struct cred *cred
173  f = __alloc_file(flags, cred)
175  If Not IS_ERR(f) Then f_mode |= File does not contribute to nr_files count
178  Return f