diff options
author | David Sterba <dsterba@suse.cz> | 2014-01-21 12:56:09 -0500 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-01-28 16:20:42 -0500 |
commit | c736c095de53c1a0a23909239d69bb56693df8ef (patch) | |
tree | 5d0fed56234bfbc409dacaf9f1fae1d9a7e44140 /fs/btrfs/sysfs.c | |
parent | 66b4bbd4f5895e4b9da03885c00e42ba64f7038e (diff) |
btrfs: sysfs: list the NO_HOLES feature
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/sysfs.c')
-rw-r--r-- | fs/btrfs/sysfs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/sysfs.c b/fs/btrfs/sysfs.c index 1a893860d66b..782374d8fd19 100644 --- a/fs/btrfs/sysfs.c +++ b/fs/btrfs/sysfs.c | |||
@@ -202,6 +202,7 @@ BTRFS_FEAT_ATTR_INCOMPAT(big_metadata, BIG_METADATA); | |||
202 | BTRFS_FEAT_ATTR_INCOMPAT(extended_iref, EXTENDED_IREF); | 202 | BTRFS_FEAT_ATTR_INCOMPAT(extended_iref, EXTENDED_IREF); |
203 | BTRFS_FEAT_ATTR_INCOMPAT(raid56, RAID56); | 203 | BTRFS_FEAT_ATTR_INCOMPAT(raid56, RAID56); |
204 | BTRFS_FEAT_ATTR_INCOMPAT(skinny_metadata, SKINNY_METADATA); | 204 | BTRFS_FEAT_ATTR_INCOMPAT(skinny_metadata, SKINNY_METADATA); |
205 | BTRFS_FEAT_ATTR_INCOMPAT(no_holes, NO_HOLES); | ||
205 | 206 | ||
206 | static struct attribute *btrfs_supported_feature_attrs[] = { | 207 | static struct attribute *btrfs_supported_feature_attrs[] = { |
207 | BTRFS_FEAT_ATTR_PTR(mixed_backref), | 208 | BTRFS_FEAT_ATTR_PTR(mixed_backref), |
@@ -212,6 +213,7 @@ static struct attribute *btrfs_supported_feature_attrs[] = { | |||
212 | BTRFS_FEAT_ATTR_PTR(extended_iref), | 213 | BTRFS_FEAT_ATTR_PTR(extended_iref), |
213 | BTRFS_FEAT_ATTR_PTR(raid56), | 214 | BTRFS_FEAT_ATTR_PTR(raid56), |
214 | BTRFS_FEAT_ATTR_PTR(skinny_metadata), | 215 | BTRFS_FEAT_ATTR_PTR(skinny_metadata), |
216 | BTRFS_FEAT_ATTR_PTR(no_holes), | ||
215 | NULL | 217 | NULL |
216 | }; | 218 | }; |
217 | 219 | ||