mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-15 17:46:35 +08:00
rtemsbsd/nfs: Add support to mount NFSv2
- NFSv2 requires userland RPC calls to determine the version of NFS and the FH. This is passed to the kernel. - Port more libc/rpc. Update #4475
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -185,7 +185,7 @@ rtems_bsd_vfs_vnode_componentname(struct componentname *cnd, struct vnode *vp,
|
||||
name[namemax] = '\0';
|
||||
namelen = namemax;
|
||||
tvp = vp;
|
||||
error = vn_vptocnp(&tvp, NULL, name, &namelen);
|
||||
error = vn_vptocnp(&tvp, cred, name, &namelen);
|
||||
if (error == 0) {
|
||||
name = &name[namelen];
|
||||
namelen = namemax - namelen;
|
||||
|
Reference in New Issue
Block a user