]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
ext4: indicate that fast_commit is available via /sys/fs/ext4/feature/...
authorTheodore Ts'o <tytso@mit.edu>
Wed, 28 Oct 2020 17:39:13 +0000 (13:39 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 28 Oct 2020 17:43:22 +0000 (13:43 -0400)
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/sysfs.c

index 5ff33d18996a859451c1eab552672892b32f0a2f..4e27fe6ed3ae6a97816f3b6c2915c3f58be88656 100644 (file)
@@ -315,6 +315,7 @@ EXT4_ATTR_FEATURE(casefold);
 EXT4_ATTR_FEATURE(verity);
 #endif
 EXT4_ATTR_FEATURE(metadata_csum_seed);
+EXT4_ATTR_FEATURE(fast_commit);
 
 static struct attribute *ext4_feat_attrs[] = {
        ATTR_LIST(lazy_itable_init),
@@ -331,6 +332,7 @@ static struct attribute *ext4_feat_attrs[] = {
        ATTR_LIST(verity),
 #endif
        ATTR_LIST(metadata_csum_seed),
+       ATTR_LIST(fast_commit),
        NULL,
 };
 ATTRIBUTE_GROUPS(ext4_feat);