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. Must be matched with* __mnt_want_write() call above.

Proto:void __mnt_drop_write(struct vfsmount *mnt)

Type:void

Parameter:

TypeParameterName
struct vfsmount *mnt
430  Even if we don't have any preemption, we need preempt disable/enable* to be barriers, so that we don't have things like get_user/put_user* that can cause faults and scheduling migrate into our preempt-protected* region.()
431  mnt_dec_writers(real_mount(mnt))
432  preempt_enable()
Caller
NameDescribe
__fputhe real guts of fput() - releasing the last reference to file
touch_atime
mnt_drop_writemnt_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
__mnt_drop_write_file