Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

Name:mnt_warn_timestamp_expiry

Proto:static void mnt_warn_timestamp_expiry(struct path *mountpoint, struct vfsmount *mnt)

Type:void

Parameter:

TypeParameterName
struct path *mountpoint
struct vfsmount *mnt
2471  sb = pointer to superblock
2473  If Not __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 && ktime_get_real_seconds - Get the seconds portion of CLOCK_REALTIME* Returns the wall clock seconds since 1970. This replaces the* get_seconds() interface which is not y2038 safe on 32bit systems. + Limits for settimeofday():* To prevent setting the time close to the wraparound point time setting* is limited so a reasonable uptime can be accomodated. Uptime of 30 years* should be really sufficient, which means the cutoff is 2232. At that > s_time_max Then
2475  buf = __get_free_page(GFP_KERNEL)
2476  mntpath = If buf Then d_path(mountpoint, buf, PAGE_SIZE) Else ERR_PTR( - ENOMEM)
2479  me64_to_tm - converts the calendar time to local broken-down time*@totalsecs the number of seconds elapsed since 00:00:00 on January 1, 1970,* Coordinated Universal Time (UTC)
2481  pr_warn("%s filesystem being %s at %s supports timestamps until %04ld (0x%llx)\n", name, is_mounted(mnt) ? "remounted" : "mounted", mntpath, he number of years since 1900 + 1900, (unsignedlonglong)s_time_max)
2487  free_page((unsignedlong)buf)
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.
do_new_mount_fcCreate a new mount using a superblock configuration and request it* be added to the namespace tree.