Function report |
Source Code:fs\namespace.c |
Create Date:2022-07-28 20:09:17 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:hange 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.
Proto:static int do_remount(struct path *path, int ms_flags, int sb_flags, int mnt_flags, void *data)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct path * | path | |
int | ms_flags | |
int | sb_flags | |
int | mnt_flags | |
void * | data |
2532 | mnt = real_mount(mnt) |
2544 | fc = fs_context_for_reconfigure(dentry, sb_flags, Superblock flags that can be altered by MS_REMOUNT) |
2548 | err = parse_monolithic_mount_data(fc, data) |
2549 | If Not err Then |
2550 | lock for writing |
2552 | If ns_capable(s_user_ns, Allow setting zone reclaim policy ) Then |
2557 | lease a write lock |
2560 | mnt_warn_timestamp_expiry(path, & mnt) |
2562 | put_fs_context - Dispose of a superblock configuration context.*@fc: The context to dispose of. |
2563 | Return err |
Name | Describe |
---|---|
do_mount | Flags 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) |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |