Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\fscrypt.h Create Date:2022-07-28 20:02:13
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:scrypt_prepare_link - prepare to link an inode into a possibly-encrypted directory*@old_dentry: an existing dentry for the inode being linked*@dir: the target directory*@dentry: negative dentry for the target filename* A new link can only be added to an

Proto:static inline int fscrypt_prepare_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry)

Type:int

Parameter:

TypeParameterName
struct dentry *old_dentry
struct inode *dir
struct dentry *dentry
580  If IS_ENCRYPTED(dir) Then Return __fscrypt_prepare_link(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., dir, dentry)
582  Return 0