aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2014-01-21 12:56:06 -0500
committerChris Mason <clm@fb.com>2014-01-28 16:20:41 -0500
commit66b4bbd4f5895e4b9da03885c00e42ba64f7038e (patch)
tree984c84ce0b9150ae1ea4945b18d83f43644453ea /fs/btrfs
parentbd60ea0fe947029df4b7b7aa9d6557baf2a5a138 (diff)
btrfs: sysfs: don't show reserved incompat feature
The COMPRESS_LZOv2 incompat featue is currently not implemented, the bit is only reserved, no point to list it in sysfs. Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs')
-rw-r--r--fs/btrfs/sysfs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/sysfs.c b/fs/btrfs/sysfs.c
index ba94b277e98d..1a893860d66b 100644
--- a/fs/btrfs/sysfs.c
+++ b/fs/btrfs/sysfs.c
@@ -198,7 +198,6 @@ BTRFS_FEAT_ATTR_INCOMPAT(mixed_backref, MIXED_BACKREF);
198BTRFS_FEAT_ATTR_INCOMPAT(default_subvol, DEFAULT_SUBVOL); 198BTRFS_FEAT_ATTR_INCOMPAT(default_subvol, DEFAULT_SUBVOL);
199BTRFS_FEAT_ATTR_INCOMPAT(mixed_groups, MIXED_GROUPS); 199BTRFS_FEAT_ATTR_INCOMPAT(mixed_groups, MIXED_GROUPS);
200BTRFS_FEAT_ATTR_INCOMPAT(compress_lzo, COMPRESS_LZO); 200BTRFS_FEAT_ATTR_INCOMPAT(compress_lzo, COMPRESS_LZO);
201BTRFS_FEAT_ATTR_INCOMPAT(compress_lzov2, COMPRESS_LZOv2);
202BTRFS_FEAT_ATTR_INCOMPAT(big_metadata, BIG_METADATA); 201BTRFS_FEAT_ATTR_INCOMPAT(big_metadata, BIG_METADATA);
203BTRFS_FEAT_ATTR_INCOMPAT(extended_iref, EXTENDED_IREF); 202BTRFS_FEAT_ATTR_INCOMPAT(extended_iref, EXTENDED_IREF);
204BTRFS_FEAT_ATTR_INCOMPAT(raid56, RAID56); 203BTRFS_FEAT_ATTR_INCOMPAT(raid56, RAID56);
@@ -209,7 +208,6 @@ static struct attribute *btrfs_supported_feature_attrs[] = {
209 BTRFS_FEAT_ATTR_PTR(default_subvol), 208 BTRFS_FEAT_ATTR_PTR(default_subvol),
210 BTRFS_FEAT_ATTR_PTR(mixed_groups), 209 BTRFS_FEAT_ATTR_PTR(mixed_groups),
211 BTRFS_FEAT_ATTR_PTR(compress_lzo), 210 BTRFS_FEAT_ATTR_PTR(compress_lzo),
212 BTRFS_FEAT_ATTR_PTR(compress_lzov2),
213 BTRFS_FEAT_ATTR_PTR(big_metadata), 211 BTRFS_FEAT_ATTR_PTR(big_metadata),
214 BTRFS_FEAT_ATTR_PTR(extended_iref), 212 BTRFS_FEAT_ATTR_PTR(extended_iref),
215 BTRFS_FEAT_ATTR_PTR(raid56), 213 BTRFS_FEAT_ATTR_PTR(raid56),