aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2020-10-28 13:39:13 -0400
committerTheodore Ts'o <tytso@mit.edu>2020-10-28 13:43:22 -0400
commit6694875ef8045cdb1e6712ee9b68fe08763507d8 (patch)
treec04944789bcdfffd0cde2c95cb9e65eb18396c45
parentext4: use generic casefolding support (diff)
downloadwireguard-linux-6694875ef8045cdb1e6712ee9b68fe08763507d8.tar.xz
wireguard-linux-6694875ef8045cdb1e6712ee9b68fe08763507d8.zip
ext4: indicate that fast_commit is available via /sys/fs/ext4/feature/...
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
-rw-r--r--fs/ext4/sysfs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ext4/sysfs.c b/fs/ext4/sysfs.c
index 5ff33d18996a..4e27fe6ed3ae 100644
--- a/fs/ext4/sysfs.c
+++ b/fs/ext4/sysfs.c
@@ -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);