Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:gets write permission for a file

Proto:static inline int get_write_access(struct inode *inode)

Type:int

Parameter:

TypeParameterName
struct inode *inode
2920  Return If atomic_inc_unless_negative( & i_writecount) Then 0 Else -ETXTBSY
Caller
NameDescribe
vfs_truncate
do_dentry_open
handle_truncate