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:Update the user-settable attributes on a mount. The caller must hold* sb->s_umount for writing.

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

Type:void

Parameter:

TypeParameterName
struct mount *mnt
unsigned intmnt_flags
2462  lock_mount_hash()
2463  mnt_flags |= mnt_flags & ~MNT_USER_SETTABLE_MASK
2464  mnt_flags = mnt_flags
2465  vfsmount lock must be held for write
2466  unlock_mount_hash()
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).
do_remounthange filesystem flags. dir should be a physical root of filesystem.* If you've mounted a non-root directory somewhere and want to do remount* on it - tough luck.