diff options
author | zack <zack@FreeBSD.org> | 2011-07-16 08:05:31 +0000 |
---|---|---|
committer | zack <zack@FreeBSD.org> | 2011-07-16 08:05:31 +0000 |
commit | d626afc8b3e9aead1393c2c520688f2e4f16415d (patch) | |
tree | 4b7af116cc91fe2fdea4b64ed479bd9aa651c387 /sys/fs/nfs | |
parent | ab40eb1f721cbd836ff5281884af9a205622877d (diff) | |
download | FreeBSD-src-d626afc8b3e9aead1393c2c520688f2e4f16415d.zip FreeBSD-src-d626afc8b3e9aead1393c2c520688f2e4f16415d.tar.gz |
Simple find/replace of vn_lock -> NFSVOPLOCK. This is done so that NFSVOPLOCK can be modified later to add enhanced logging and assertions.
Reviewed by: rmacklem
Approved by: zml (mentor)
MFC after: 2 weeks
Diffstat (limited to 'sys/fs/nfs')
-rw-r--r-- | sys/fs/nfs/nfs_commonsubs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/nfs/nfs_commonsubs.c b/sys/fs/nfs/nfs_commonsubs.c index ff5ea59..221bc61 100644 --- a/sys/fs/nfs/nfs_commonsubs.c +++ b/sys/fs/nfs/nfs_commonsubs.c @@ -2001,7 +2001,7 @@ nfsv4_fillattr(struct nfsrv_descript *nd, struct mount *mp, vnode_t vp, supports_nfsv4acls == 0)) { NFSCLRBIT_ATTRBIT(retbitp, NFSATTRBIT_ACL); } else if (naclp != NULL) { - if (vn_lock(vp, LK_SHARED) == 0) { + if (NFSVOPLOCK(vp, LK_SHARED) == 0) { error = VOP_ACCESSX(vp, VREAD_ACL, cred, p); if (error == 0) error = VOP_GETACL(vp, ACL_TYPE_NFS4, |