Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\inode.c Create Date:2022-07-28 20:08:00
Last Modify:2020-03-18 19:19:59 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Generic function to check FS_IOC_SETFLAGS values and reject any invalid* configurations.* Note: the caller should be holding i_mutex, or else be sure that they have* exclusive access to the inode structure.

Proto:int vfs_ioc_setflags_prepare(struct inode *inode, unsigned int oldflags, unsigned int flags)

Type:int

Parameter:

TypeParameterName
struct inode *inode
unsigned intoldflags
unsigned intflags
2251  If (flags ^ oldflags) & (writes to file may only append | Immutable file ) && Not Check operation authority Then Return -EPERM
2255  Return 0