ufs: ansify
Reviewed by: Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision:
This commit is contained in:
parent
c492eb60b3
commit
85d4483d5e
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user