Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:vfsmount lock must be held. Additionally, the caller is responsible* for serializing calls for given disposal list.

Proto:static void __put_mountpoint(struct mountpoint *mp, struct list_head *list)

Type:void

Parameter:

TypeParameterName
struct mountpoint *mp
struct list_head *list
756  If Not --m_count Then
757  dentry = m_dentry
758  BUG_ON(!hlist_empty( & m_list))
759  spin_lock( & d_lock)
760  protected by d_lock &= ~s a mountpoint
761  spin_unlock( & d_lock)
762  dput_to_list(dentry, list)
763  hlist_del( & m_hash)
764  kfree(mp)
Caller
NameDescribe
put_mountpointalled with namespace_lock and vfsmount lock
mntput_no_expire