summaryrefslogtreecommitdiff
path: root/mkfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'mkfs.c')
-rw-r--r--mkfs.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/mkfs.c b/mkfs.c
index 01180c35..717c68f4 100644
--- a/mkfs.c
+++ b/mkfs.c
@@ -337,7 +337,6 @@ static void print_usage(void)
fprintf(stderr, "\t -r --rootdir the source directory\n");
fprintf(stderr, "\t -K --nodiscard do not perform whole device TRIM\n");
fprintf(stderr, "\t -V --version print the mkfs.btrfs version and exit\n");
- fprintf(stderr, "\t -x --skinny-extents use the new skinny extent disk format");
fprintf(stderr, "%s\n", BTRFS_BUILD_VERSION);
exit(1);
}
@@ -398,7 +397,6 @@ static struct option long_options[] = {
{ "version", 0, NULL, 'V' },
{ "rootdir", 1, NULL, 'r' },
{ "nodiscard", 0, NULL, 'K' },
- { "skinny-extents", 0, NULL, 'x'},
{ 0, 0, 0, 0}
};
@@ -1291,7 +1289,6 @@ int main(int ac, char **av)
int nodiscard = 0;
int ssd = 0;
int force_overwrite = 0;
- int skinny_meta_extents = 0;
char *source_dir = NULL;
int source_dir_set = 0;
@@ -1307,7 +1304,7 @@ int main(int ac, char **av)
while(1) {
int c;
- c = getopt_long(ac, av, "A:b:fl:n:s:m:d:L:r:VMKx",
+ c = getopt_long(ac, av, "A:b:fl:n:s:m:d:L:r:VMK",
long_options, &option_index);
if (c < 0)
break;
@@ -1359,9 +1356,6 @@ int main(int ac, char **av)
case 'K':
nodiscard=1;
break;
- case 'x':
- skinny_meta_extents = 1;
- break;
default:
print_usage();
}
@@ -1539,9 +1533,6 @@ raid_groups:
if (mixed)
flags |= BTRFS_FEATURE_INCOMPAT_MIXED_GROUPS;
- if (skinny_meta_extents)
- flags |= BTRFS_FEATURE_INCOMPAT_SKINNY_METADATA;
-
btrfs_set_super_incompat_flags(super, flags);
if ((data_profile | metadata_profile) &