Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:empty_dir_getattr

Proto:static int empty_dir_getattr(const struct path *path, struct kstat *stat, unsigned int request_mask, unsigned int query_flags)

Type:int

Parameter:

TypeParameterName
const struct path *path
struct kstat *stat
unsigned intrequest_mask
unsigned intquery_flags
1230  inode = d_inode - Get the actual inode of this dentry*@dentry: The dentry to query* This is the helper normal filesystems should use to get at their own inodes* in their own dentries and ignore the layering superimposed upon them.
1231  generic_fillattr - Fill in the basic attributes from the inode struct*@inode: Inode to use as the source*@stat: Where to fill in the attributes* Fill in the basic attributes in the kstat structure from data that's to be* found on the VFS inode structure
1232  Return 0