diff options
author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2017-06-11 19:05:45 +0000 |
---|---|---|
committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2017-06-11 19:05:45 +0000 |
commit | b5f0918be5c791c17ee111b9c5d57f266189cae5 (patch) | |
tree | c0b117067758b3d6b797500efb5add0d843a6e4e /sys/fs/ext2fs/ext2_acl.c | |
parent | 55c2cd6f483e7cbaef4b0aab884a54281f5ad877 (diff) |
extfs: fix the build with no UFS_ACL.
Some people may want to drop UFS-style ACLs for slimmer kernels.
Let's just not assume everyone needs ACLs.
Reported by: bde
Submitted by: Fedor Uporov
Differential Revision: https://reviews.freebsd.org/D11145
Notes
Notes:
svn path=/head/; revision=319827
Diffstat (limited to 'sys/fs/ext2fs/ext2_acl.c')
-rw-r--r-- | sys/fs/ext2fs/ext2_acl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/fs/ext2fs/ext2_acl.c b/sys/fs/ext2fs/ext2_acl.c index 0f47c2981f94..fdf71214cb45 100644 --- a/sys/fs/ext2fs/ext2_acl.c +++ b/sys/fs/ext2fs/ext2_acl.c @@ -49,6 +49,8 @@ #include <fs/ext2fs/ext2_dinode.h> #include <fs/ext2fs/ext2_mount.h> +#ifdef UFS_ACL + void ext2_sync_acl_from_inode(struct inode *ip, struct acl *acl) { @@ -522,3 +524,5 @@ ext2_aclcheck(struct vop_aclcheck_args *ap) return (acl_posix1e_check(ap->a_aclp)); } + +#endif /* UFS_ACL */ |