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:change_mount_ro_state

Proto:static int change_mount_ro_state(struct mount *mnt, unsigned int mnt_flags)

Type:int

Parameter:

TypeParameterName
struct mount *mnt
unsigned intmnt_flags
2445  readonly_request = mnt_flags & does the user want this to be r/o?
2447  If readonly_request == __mnt_is_readonly: check whether a mount is read-only*@mnt: the mount to check for its write status* This shouldn't be used directly ouside of the VFS.* It does not guarantee that the filesystem will stay* r/w, just that it is right *now*. This can not and Then Return 0
2450  If readonly_request Then Return mnt_make_readonly(mnt)
2453  Return __mnt_unmake_readonly(mnt)
Caller
NameDescribe
do_reconfigure_mntHandle reconfiguration of the mountpoint only without alteration of the* superblock it refers to. This is triggered by specifying MS_REMOUNT|MS_BIND* to mount(2).