Add CONFIG_UBIFS_FS_POSIX_ACL to select ACL for UBIFS. Signed-off-by: Sheng Yong <shengyong1@xxxxxxxxxx> --- fs/ubifs/Kconfig | 11 +++++++++++ fs/ubifs/Makefile | 1 + 2 files changed, 12 insertions(+) diff --git a/fs/ubifs/Kconfig b/fs/ubifs/Kconfig index ba66d50..3ca8e8d 100644 --- a/fs/ubifs/Kconfig +++ b/fs/ubifs/Kconfig @@ -35,3 +35,14 @@ config UBIFS_FS_ZLIB default y help Zlib compresses better than LZO but it is slower. Say 'Y' if unsure. + +config UBIFS_FS_POSIX_ACL + bool "UBIFS POSIX Access Control Lists" + depends on UBIFS_FS + select FS_POSIX_ACL + help + Posix Access Control Lists (ACLs) support permissions for users and + groups beyond the owner/group/world scheme. + + To learn more about Access Control Lists, visit the Posix ACLs for + Linux website <http://acl.bestbits.at/>. diff --git a/fs/ubifs/Makefile b/fs/ubifs/Makefile index 2c6f0cb..ab8aea5 100644 --- a/fs/ubifs/Makefile +++ b/fs/ubifs/Makefile @@ -4,3 +4,4 @@ ubifs-y += shrinker.o journal.o file.o dir.o super.o sb.o io.o ubifs-y += tnc.o master.o scan.o replay.o log.o commit.o gc.o orphan.o ubifs-y += budget.o find.o tnc_commit.o compress.o lpt.o lprops.o ubifs-y += recovery.o ioctl.o lpt_commit.o tnc_misc.o xattr.o debug.o +ubifs-$(CONFIG_UBIFS_FS_POSIX_ACL) += acl.o -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html