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:__is_local_mountpoint - Test to see if dentry is a mountpoint in the* current mount namespace

Proto:bool __is_local_mountpoint(struct dentry *dentry)

Type:bool

Parameter:

TypeParameterName
struct dentry *dentry
668  ns = mnt_ns
670  bool is_covered = false
672  If Not d_mountpoint(dentry) Then Go to out
675  lock for reading
677  is_covered = mnt_mountpoint == dentry
678  If is_covered Then Break
681  lease a read lock
682  out :
683  Return is_covered