Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ioctl_fsfreeze

Proto:static int ioctl_fsfreeze(struct file *filp)

Type:int

Parameter:

TypeParameterName
struct file *filp
595  sb = i_sb
597  If Not ns_capable(s_user_ns, Allow setting zone reclaim policy ) Then Return -EPERM
601  If (freeze_fs == NULL && freeze_super == NULL) Then Return -EOPNOTSUPP
605  If freeze_super Then Return freeze_super(sb)
607  Return ze_super - lock the filesystem and force it into a consistent state*@sb: the super to lock* Syncs the super to make sure the filesystem is consistent and calls the fs's* freeze_fs. Subsequent calls to this without first thawing the fs will return* -EBUSY.
Caller
NameDescribe
do_vfs_ioctlWhen you add any new common ioctls to the switches above and below* please update compat_sys_ioctl() too.* do_vfs_ioctl() is not for drivers and not intended to be EXPORT_SYMBOL()'d.* It's just a simple helper for sys_ioctl and compat_sys_ioctl.