ufs: ansify

Reviewed by:
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:
This commit is contained in:
Mateusz Guzik 2023-02-13 18:35:54 +00:00
parent c492eb60b3
commit 85d4483d5e

View file

@ -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)