svn commit: r358052 - projects/nfs-over-tls/sys/fs/nfs
Rick Macklem
rmacklem at FreeBSD.org
Mon Feb 17 21:02:31 UTC 2020
Author: rmacklem
Date: Mon Feb 17 21:02:30 2020
New Revision: 358052
URL: https://svnweb.freebsd.org/changeset/base/358052
Log:
Get rid of the extra argument to NFSVOPUNLOCK().
Modified:
projects/nfs-over-tls/sys/fs/nfs/nfs_commonsubs.c
Modified: projects/nfs-over-tls/sys/fs/nfs/nfs_commonsubs.c
==============================================================================
--- projects/nfs-over-tls/sys/fs/nfs/nfs_commonsubs.c Mon Feb 17 20:58:33 2020 (r358051)
+++ projects/nfs-over-tls/sys/fs/nfs/nfs_commonsubs.c Mon Feb 17 21:02:30 2020 (r358052)
@@ -2599,7 +2599,7 @@ nfsv4_fillattr(struct nfsrv_descript *nd, struct mount
if (error == 0)
error = VOP_GETACL(vp, ACL_TYPE_NFS4,
naclp, cred, p);
- NFSVOPUNLOCK(vp, 0);
+ NFSVOPUNLOCK(vp);
} else
error = NFSERR_PERM;
if (error != 0) {
@@ -2619,7 +2619,7 @@ nfsv4_fillattr(struct nfsrv_descript *nd, struct mount
if (NFSVOPLOCK(vp, LK_SHARED) == 0) {
error = VOP_GETEXTATTR(vp, EXTATTR_NAMESPACE_USER,
"xxx", NULL, &atsiz, cred, p);
- NFSVOPUNLOCK(vp, 0);
+ NFSVOPUNLOCK(vp);
if (error != EOPNOTSUPP)
xattrsupp = true;
}
More information about the svn-src-projects
mailing list