summaryrefslogtreecommitdiff
path: root/fs/ext4/super.c
diff options
context:
space:
mode:
authorLukas Czerner <lczerner@redhat.com>2010-10-27 21:30:12 -0400
committerTheodore Ts'o <tytso@mit.edu>2010-10-27 21:30:12 -0400
commit27ee40df2b17c84aa7855907df12befe6869b7a7 (patch)
tree9ff6c98b2e2a715234b9a9ebd91232fd7ca7f558 /fs/ext4/super.c
parent7360d1731e5dc78aec867e65e55f9fb58782b5fe (diff)
downloadlwn-27ee40df2b17c84aa7855907df12befe6869b7a7.tar.gz
lwn-27ee40df2b17c84aa7855907df12befe6869b7a7.zip
ext4: add batched_discard into ext4 feature list
Should be applied on the top of "lazy inode table initialization" and "batched discard support" patch-sets. Signed-off-by: Lukas Czerner <lczerner@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/super.c')
-rw-r--r--fs/ext4/super.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 01e60aa6c478..9ce3b67b7269 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -2457,9 +2457,11 @@ static struct attribute *ext4_attrs[] = {
/* Features this copy of ext4 supports */
EXT4_INFO_ATTR(lazy_itable_init);
+EXT4_INFO_ATTR(batched_discard);
static struct attribute *ext4_feat_attrs[] = {
ATTR_LIST(lazy_itable_init),
+ ATTR_LIST(batched_discard),
NULL,
};