Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\namespace.c Create Date:2022-07-28 20:09:10
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mnt_drop_write - give up write access to a mount*@mnt: the mount on which to give up write access* Tells the low-level filesystem that we are done performing writes to it and* also allows filesystem to be frozen again. Must be matched with

Proto:void mnt_drop_write(struct vfsmount *mnt)

Type:void

Parameter:

TypeParameterName
struct vfsmount *mnt
445  __mnt_drop_write - give up write access to a mount*@mnt: the mount on which to give up write access* Tells the low-level filesystem that we are done* performing writes to it. Must be matched with* __mnt_want_write() call above.
446  sb_end_write - drop write access to a superblock*@sb: the super we wrote to* Decrement number of writers to the filesystem. Wake up possible waiters* wanting to freeze the filesystem.
Caller
NameDescribe
SYSCALL_DEFINE1
chmod_common
do_fchownat
do_lastHandle the last step of open()
do_tmpfile
filename_create
done_path_create
do_rmdir
do_unlinkatMake sure that the actual truncation of the file will occur outside its* directory's i_mutex. Truncate can take a long time if there is a lot of* writeout happening, and we don't want to prevent access to the directory* while waiting on the I/O.
do_renameat2
path_setxattr
path_removexattr
utimes_common