Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Follow down to the covering mount currently visible to userspace. At each* point, the filesystem owning that dentry may be queried as to whether the* caller is permitted to proceed or not.

Proto:int follow_down(struct path *path)

Type:int

Parameter:

TypeParameterName
struct path *path
1415  When managed = READ_ONCE( protected by d_lock ) , Value for the false possibility is greater at compile time(managed & DCACHE_MANAGED_DENTRY) cycle
1428  BUG_ON(!d_op)
1429  BUG_ON(!d_manage)
1430  ret = d_manage(path, false)
1431  If ret < 0 Then Return If ret == -EISDIR Then 0 Else ret
1436  If managed & s a mountpoint Then
1437  mounted = lookup_mnt(path)
1438  If Not mounted Then Break
1440  dput(dentry)
1441  mntput(mnt)
1442  mnt = mounted
1444  Continue
1448  Break
1450  Return 0