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_setattr - prepare to change a possibly-encrypted inode's attributes*@dentry: dentry through which the inode is being changed*@attr: attributes to change* Prepare for ->setattr() on a possibly-encrypted inode. On an encrypted file,

Proto:static inline int fscrypt_prepare_setattr(struct dentry *dentry, struct iattr *attr)

Type:int

Parameter:

TypeParameterName
struct dentry *dentry
struct iattr *attr
671  If ia_valid & ATTR_SIZE Then Return scrypt_require_key - require an inode's encryption key*@inode: the inode we need the key for* If the inode is encrypted, set up its encryption key if not already done
673  Return 0