diff options
author | Rick Macklem <rmacklem@FreeBSD.org> | 2022-06-16 23:17:13 +0000 |
---|---|---|
committer | Rick Macklem <rmacklem@FreeBSD.org> | 2022-06-16 23:17:13 +0000 |
commit | af6665e0aa7290f26a3a6be0b49dcb75b4d54722 (patch) | |
tree | 40d4171fc6e769db75be77da7be28029c07e6bb6 /sys/fs | |
parent | e16b709e2dcc45f01cf96b5e7f6d48474feff8d7 (diff) | |
download | src-af6665e0aa7290f26a3a6be0b49dcb75b4d54722.tar.gz src-af6665e0aa7290f26a3a6be0b49dcb75b4d54722.zip |
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/nfs/nfs_var.h | 6 | ||||
-rw-r--r-- | sys/fs/nfsclient/nfs_clrpcops.c | 6 | ||||
-rw-r--r-- | sys/fs/nfsclient/nfs_clvnops.c | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/sys/fs/nfs/nfs_var.h b/sys/fs/nfs/nfs_var.h index 893514b4e1c6..d7bbf6558453 100644 --- a/sys/fs/nfs/nfs_var.h +++ b/sys/fs/nfs/nfs_var.h @@ -487,12 +487,12 @@ int nfsrpc_link(vnode_t, vnode_t, char *, int, int *, int *); int nfsrpc_symlink(vnode_t, char *, int, const char *, struct vattr *, struct ucred *, NFSPROC_T *, struct nfsvattr *, struct nfsvattr *, - struct nfsfh **, int *, int *, void *); + struct nfsfh **, int *, int *); int nfsrpc_mkdir(vnode_t, char *, int, struct vattr *, struct ucred *, NFSPROC_T *, struct nfsvattr *, struct nfsvattr *, - struct nfsfh **, int *, int *, void *); + struct nfsfh **, int *, int *); int nfsrpc_rmdir(vnode_t, char *, int, struct ucred *, NFSPROC_T *, - struct nfsvattr *, int *, void *); + struct nfsvattr *, int *); int nfsrpc_readdir(vnode_t, struct uio *, nfsuint64 *, struct ucred *, NFSPROC_T *, struct nfsvattr *, int *, int *, void *); int nfsrpc_readdirplus(vnode_t, struct uio *, nfsuint64 *, diff --git a/sys/fs/nfsclient/nfs_clrpcops.c b/sys/fs/nfsclient/nfs_clrpcops.c index 49ccad116ff3..972a7edd9e31 100644 --- a/sys/fs/nfsclient/nfs_clrpcops.c +++ b/sys/fs/nfsclient/nfs_clrpcops.c @@ -3012,7 +3012,7 @@ int nfsrpc_symlink(vnode_t dvp, char *name, int namelen, const char *target, struct vattr *vap, struct ucred *cred, NFSPROC_T *p, struct nfsvattr *dnap, struct nfsvattr *nnap, struct nfsfh **nfhpp, int *attrflagp, - int *dattrflagp, void *dstuff) + int *dattrflagp) { u_int32_t *tl; struct nfsrv_descript nfsd, *nd = &nfsd; @@ -3073,7 +3073,7 @@ int nfsrpc_mkdir(vnode_t dvp, char *name, int namelen, struct vattr *vap, struct ucred *cred, NFSPROC_T *p, struct nfsvattr *dnap, struct nfsvattr *nnap, struct nfsfh **nfhpp, int *attrflagp, - int *dattrflagp, void *dstuff) + int *dattrflagp) { u_int32_t *tl; struct nfsrv_descript nfsd, *nd = &nfsd; @@ -3153,7 +3153,7 @@ nfsmout: */ int nfsrpc_rmdir(vnode_t dvp, char *name, int namelen, struct ucred *cred, - NFSPROC_T *p, struct nfsvattr *dnap, int *dattrflagp, void *dstuff) + NFSPROC_T *p, struct nfsvattr *dnap, int *dattrflagp) { struct nfsrv_descript nfsd, *nd = &nfsd; int error = 0; diff --git a/sys/fs/nfsclient/nfs_clvnops.c b/sys/fs/nfsclient/nfs_clvnops.c index a972836092be..5191cc27b77a 100644 --- a/sys/fs/nfsclient/nfs_clvnops.c +++ b/sys/fs/nfsclient/nfs_clvnops.c @@ -2245,7 +2245,7 @@ nfs_symlink(struct vop_symlink_args *ap) vap->va_type = VLNK; error = nfsrpc_symlink(dvp, cnp->cn_nameptr, cnp->cn_namelen, ap->a_target, vap, cnp->cn_cred, curthread, &dnfsva, - &nfsva, &nfhp, &attrflag, &dattrflag, NULL); + &nfsva, &nfhp, &attrflag, &dattrflag); if (nfhp) { ret = nfscl_nget(dvp->v_mount, dvp, nfhp, cnp, curthread, &np, LK_EXCLUSIVE); @@ -2328,7 +2328,7 @@ nfs_mkdir(struct vop_mkdir_args *ap) vap->va_type = VDIR; error = nfsrpc_mkdir(dvp, cnp->cn_nameptr, cnp->cn_namelen, vap, cnp->cn_cred, curthread, &dnfsva, &nfsva, &nfhp, - &attrflag, &dattrflag, NULL); + &attrflag, &dattrflag); dnp = VTONFS(dvp); NFSLOCKNODE(dnp); dnp->n_flag |= NMODIFIED; @@ -2405,7 +2405,7 @@ nfs_rmdir(struct vop_rmdir_args *ap) if (dvp == vp) return (EINVAL); error = nfsrpc_rmdir(dvp, cnp->cn_nameptr, cnp->cn_namelen, - cnp->cn_cred, curthread, &dnfsva, &dattrflag, NULL); + cnp->cn_cred, curthread, &dnfsva, &dattrflag); dnp = VTONFS(dvp); NFSLOCKNODE(dnp); dnp->n_flag |= NMODIFIED; |