|
|
@@ -223,14 +223,18 @@ static struct attribute *ext4_attrs[] = {
|
|
|
EXT4_ATTR_FEATURE(lazy_itable_init);
|
|
|
EXT4_ATTR_FEATURE(batched_discard);
|
|
|
EXT4_ATTR_FEATURE(meta_bg_resize);
|
|
|
+#ifdef CONFIG_EXT4_FS_ENCRYPTION
|
|
|
EXT4_ATTR_FEATURE(encryption);
|
|
|
+#endif
|
|
|
EXT4_ATTR_FEATURE(metadata_csum_seed);
|
|
|
|
|
|
static struct attribute *ext4_feat_attrs[] = {
|
|
|
ATTR_LIST(lazy_itable_init),
|
|
|
ATTR_LIST(batched_discard),
|
|
|
ATTR_LIST(meta_bg_resize),
|
|
|
+#ifdef CONFIG_EXT4_FS_ENCRYPTION
|
|
|
ATTR_LIST(encryption),
|
|
|
+#endif
|
|
|
ATTR_LIST(metadata_csum_seed),
|
|
|
NULL,
|
|
|
};
|