Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Sanity check the flags to change_mnt_propagation.

Proto:static int flags_to_propagation_type(int ms_flags)

Type:int

Parameter:

TypeParameterName
intms_flags
2188  type = ms_flags & ~(MS_REC | MS_SILENT)
2191  If type & ~( change to shared | change to private | change to slave | change to unbindable ) Then Return 0
2194  If Not s_power_of_2() - check if a value is a power of two*@n: the value to check* Determine whether some value is a power of two, where zero is* *not* considered a power of two.* Return: true if @n is a power of 2, otherwise false. Then Return 0
2196  Return type
Caller
NameDescribe
do_change_typersively change the type of the mountpoint.