mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
bcachefs: do not compile acl mod on minimal config
Do not compile the acl.o target if BCACHEFS_POSIX_ACL is not enabled. Signed-off-by: Dan Robertson <dan@dlrobertson.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
66a0a49750
commit
59e2480ff7
@ -2,7 +2,6 @@
|
||||
obj-$(CONFIG_BCACHEFS_FS) += bcachefs.o
|
||||
|
||||
bcachefs-y := \
|
||||
acl.o \
|
||||
alloc_background.o \
|
||||
alloc_foreground.o \
|
||||
bkey.o \
|
||||
@ -59,3 +58,5 @@ bcachefs-y := \
|
||||
util.o \
|
||||
varint.o \
|
||||
xattr.o
|
||||
|
||||
bcachefs-$(CONFIG_BCACHEFS_POSIX_ACL) += acl.o
|
||||
|
@ -562,8 +562,10 @@ static const struct xattr_handler bch_xattr_bcachefs_effective_handler = {
|
||||
|
||||
const struct xattr_handler *bch2_xattr_handlers[] = {
|
||||
&bch_xattr_user_handler,
|
||||
#ifdef CONFIG_BCACHEFS_POSIX_ACL
|
||||
&nop_posix_acl_access,
|
||||
&nop_posix_acl_default,
|
||||
#endif
|
||||
&bch_xattr_trusted_handler,
|
||||
&bch_xattr_security_handler,
|
||||
#ifndef NO_BCACHEFS_FS
|
||||
|
Loading…
Reference in New Issue
Block a user