Builds a file identifier for a virtual node (v-node).
Item | Description |
---|---|
vp | Points to the v-node that requires the file identifier. |
fidp | Points to where to return the file identifier. |
crp | Points to the cred structure. This structure contains data that the file system can use to validate access permission. |
The vnop_fid entry point is invoked to build a file identifier for the given v-node. This file identifier must contain sufficient information to find a v-node that represents the same file when it is presented to the vfs_get entry point.
The vnop_fid entry point can be called from the process environment only.
Item | Description |
---|---|
0 | Indicates success. |
Nonzero return values are returned from the /usr/include/sys/errno.h file to indicate failure.