Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Check if filesystem can encode a unique fid

Proto:static int fanotify_test_fid(struct path *path, __kernel_fsid_t *fsid)

Type:int

Parameter:

TypeParameterName
struct path *path
__kernel_fsid_t *fsid
898  err = vfs_get_fsid(dentry, fsid)
899  If err Then Return err
902  If Not val[0] && Not val[1] Then Return -ENODEV
909  err = vfs_get_fsid(s_root, & root_fsid)
910  If err Then Return err
913  If val[0] != val[0] || val[1] != val[1] Then Return -EXDEV
924  If Not s_export_op || Not fh_to_dentry Then Return -EOPNOTSUPP
928  Return 0
Caller
NameDescribe
do_fanotify_mark