aboutsummaryrefslogtreecommitdiff
path: root/sys/ufs
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2023-02-13 18:35:54 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2023-02-13 18:35:54 +0000
commit85d4483d5ead1c94acfce44d3bfd03236536f9b9 (patch)
tree1ec788e1c927d9e34088e17cc98b48f017b0bab3 /sys/ufs
parentc492eb60b30328035129a11c222aaded4d499b44 (diff)
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/ufs/ufs_acl.c27
1 files changed, 3 insertions, 24 deletions
diff --git a/sys/ufs/ufs/ufs_acl.c b/sys/ufs/ufs/ufs_acl.c
index c05fade2d645..112cbf5f3018 100644
--- a/sys/ufs/ufs/ufs_acl.c
+++ b/sys/ufs/ufs/ufs_acl.c
@@ -354,14 +354,7 @@ ufs_getacl_posix1e(struct vop_getacl_args *ap)
}
int
-ufs_getacl(ap)
- struct vop_getacl_args /* {
- struct vnode *vp;
- acl_type_t type;
- struct acl *aclp;
- struct ucred *cred;
- struct thread *td;
- } */ *ap;
+ufs_getacl(struct vop_getacl_args *ap)
{
if ((ap->a_vp->v_mount->mnt_flag & (MNT_ACLS | MNT_NFS4ACLS)) == 0)
@@ -606,14 +599,7 @@ ufs_setacl_posix1e(struct vop_setacl_args *ap)
}
int
-ufs_setacl(ap)
- struct vop_setacl_args /* {
- struct vnode *vp;
- acl_type_t type;
- struct acl *aclp;
- struct ucred *cred;
- struct thread *td;
- } */ *ap;
+ufs_setacl(struct vop_setacl_args *ap)
{
if ((ap->a_vp->v_mount->mnt_flag & (MNT_ACLS | MNT_NFS4ACLS)) == 0)
return (EOPNOTSUPP);
@@ -681,14 +667,7 @@ ufs_aclcheck_posix1e(struct vop_aclcheck_args *ap)
* Check the validity of an ACL for a file.
*/
int
-ufs_aclcheck(ap)
- struct vop_aclcheck_args /* {
- struct vnode *vp;
- acl_type_t type;
- struct acl *aclp;
- struct ucred *cred;
- struct thread *td;
- } */ *ap;
+ufs_aclcheck(struct vop_aclcheck_args *ap)
{
if ((ap->a_vp->v_mount->mnt_flag & (MNT_ACLS | MNT_NFS4ACLS)) == 0)