aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/subr_acl_posix1e.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2002-06-27 19:31:15 +0000
committerRobert Watson <rwatson@FreeBSD.org>2002-06-27 19:31:15 +0000
commit600c1a5a8ee524d399bf8123c8b9fba2f989132d (patch)
treeefe4909d480778cf86a255206f5e35e8b2627333 /sys/kern/subr_acl_posix1e.c
parentcbeb840245b7479fecef64d82b300166a907d3b5 (diff)
downloadsrc-600c1a5a8ee524d399bf8123c8b9fba2f989132d.tar.gz
src-600c1a5a8ee524d399bf8123c8b9fba2f989132d.zip
Notes
Diffstat (limited to 'sys/kern/subr_acl_posix1e.c')
-rw-r--r--sys/kern/subr_acl_posix1e.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_acl_posix1e.c b/sys/kern/subr_acl_posix1e.c
index 4541e125dbc2..70be0ec28cd4 100644
--- a/sys/kern/subr_acl_posix1e.c
+++ b/sys/kern/subr_acl_posix1e.c
@@ -621,7 +621,7 @@ vacl_delete(struct thread *td, struct vnode *vp, acl_type_t type)
return (error);
VOP_LEASE(vp, td, td->td_ucred, LEASE_WRITE);
vn_lock(vp, LK_EXCLUSIVE | LK_RETRY, td);
- error = VOP_SETACL(vp, ACL_TYPE_DEFAULT, 0, td->td_ucred, td);
+ error = VOP_SETACL(vp, type, NULL, td->td_ucred, td);
VOP_UNLOCK(vp, 0, td);
vn_finished_write(mp);
return (error);