瀏覽代碼

Btrfs: make btrfs acls selectable
This patch adds a menu entry to kconfig to enable acls for btrfs.
This allows you to enable FS_POSIX_ACL at kernel compile time.

(updated by Jeff Mahoney to make the changes in fs/btrfs/Kconfig instead)

Signed-off-by: Christian Hesse <mail@earthworm.de>
Signed-off-by: Jeff Mahoney <jeffm@suse.com>

Christian Hesse 16 年之前
父節點
當前提交
bef62ef339
共有 1 個文件被更改,包括 13 次插入0 次删除
  1. 13 0
      fs/btrfs/Kconfig

+ 13 - 0
fs/btrfs/Kconfig

@@ -16,3 +16,16 @@ config BTRFS_FS
 	  module will be called btrfs.
 	  module will be called btrfs.
 
 
 	  If unsure, say N.
 	  If unsure, say N.
+
+config BTRFS_FS_POSIX_ACL
+	bool "Btrfs POSIX Access Control Lists"
+	depends on BTRFS_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/>.
+
+	  If you don't know what Access Control Lists are, say N