函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\namespace.c Create Date:2022-07-29 10:39:25
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:void mnt_drop_write(struct vfsmount *mnt)

返回类型:void

参数:

类型参数名称
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  超级块解除写访问
调用者
名称描述
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