Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:do_move_mount_old

Proto:static int do_move_mount_old(struct path *path, const char *old_name)

Type:int

Parameter:

TypeParameterName
struct path *path
const char *old_name
2685  If Not old_name || Not old_name Then Return -EINVAL
2688  err = kern_path(old_name, llow links at the end , & old_path)
2689  If err Then Return err
2692  err = do_move_mount( & old_path, path)
2693  path_put - put a reference to a path*@path: path to put the reference to* Given a path decrement the reference count to the dentry and the vfsmount.
2694  Return err
Caller
NameDescribe
do_mountFlags is a 32-bit value that allows up to 31 non-fs dependent flags to* be given to the mount() call (ie: read-only, no-dev, no-suid etc)