Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sb_start_write - get write access to a superblock*@sb: the super we write to* When a process wants to write data or metadata to a file system (i.e. dirty* a page or an inode), it should embed the operation in a sb_start_write() -

Proto:static inline void sb_start_write(struct super_block *sb)

Type:void

Parameter:

TypeParameterName
struct super_block *sb
1650  This is an internal function, please use sb_start_{write,pagefault,intwrite}* instead.
Caller
NameDescribe
do_sys_ftruncate
mnt_want_writemnt_want_write - get write access to a mount*@m: the mount on which to take a write* This tells the low-level filesystem that a write is about to be performed to* it, and makes sure that writes are allowed (mount is read-write, filesystem
mnt_want_write_filemnt_want_write_file - get write access to a file's mount*@file: the file who's mount on which to take a write* This is like mnt_want_write, but it takes a file and can* do some optimisations if the file is open for write already