2459f58047
SR: urgent fix, breaks installation on factory (ImageMagick package) - btrfs-progs-mkfs-default-extref.diff: turn on extended refs by default, (aka hardlink count limtitation) (bnc#835695) (forwarded request 197508 from dsterba) OBS-URL: https://build.opensuse.org/request/show/197895 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/btrfsprogs?expand=0&rev=32
14 lines
510 B
Diff
14 lines
510 B
Diff
Index: btrfs-progs-v0.20-rc1-335-gf00dd83/mkfs.c
|
|
===================================================================
|
|
--- btrfs-progs-v0.20-rc1-335-gf00dd83.orig/mkfs.c
|
|
+++ btrfs-progs-v0.20-rc1-335-gf00dd83/mkfs.c
|
|
@@ -1520,6 +1520,8 @@ raid_groups:
|
|
|
|
super = root->fs_info->super_copy;
|
|
flags = btrfs_super_incompat_flags(super);
|
|
+ printf("Turning on extended refs (higher hardlink limit)\n");
|
|
+ flags |= BTRFS_FEATURE_INCOMPAT_EXTENDED_IREF;
|
|
|
|
if (mixed)
|
|
flags |= BTRFS_FEATURE_INCOMPAT_MIXED_GROUPS;
|