Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\super.c Create Date:2022-07-28 20:02:25
Last Modify:2022-05-24 06:42:17 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mount_capable

Proto:bool mount_capable(struct fs_context *fc)

Type:bool

Parameter:

TypeParameterName
struct fs_context *fc
487  If Not (fs_flags & Can be mounted by userns root ) Then Return Check operation authority
489  Else Return ns_capable(user_ns, Allow setting zone reclaim policy )
Caller
NameDescribe
do_new_mountreate a new mount for userspace and request it to be added into the* namespace's tree
vfs_fsconfig_lockedCheck the state and apply the configuration. Note that this function is* allowed to 'steal' the value by setting param->xxx to NULL before returning.