Accepting request 197508 from home:dsterba:branches:filesystems

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)

OBS-URL: https://build.opensuse.org/request/show/197508
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=138
This commit is contained in:
Tomáš Chvátal 2013-09-08 09:30:02 +00:00 committed by Git OBS Bridge
parent 439968b1a8
commit 7d9af21f71
3 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,13 @@
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;

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Sep 5 16:33:50 CEST 2013 - dsterba@suse.cz
- btrfs-progs-mkfs-default-extref.diff: turn on extended refs by
default, (aka hardlink count limtitation) (bnc#835695)
-------------------------------------------------------------------
Fri Aug 9 14:03:04 CEST 2013 - dsterba@suse.cz

View File

@ -35,6 +35,7 @@ Source3: 80-btrfs.rules
Patch10: 0010-Btrfs-progs-make-btrfsck-a-hardlink-at-install-time.patch
Patch12: 0012-libbtrfs-Set-SONAME-to-libbtrfs.so.0-instead-of-libb.patch
Patch40: 0040-btrfs-progs-fix-loop-device-mount-checks.patch
Patch1: btrfs-progs-mkfs-default-extref.diff
Patch1000: local-version-override.patch
Patch1001: btrfs-progs-use-IEEE1541-suffixes-for-sizes.patch
Patch1002: btrfs-progs-add-man-page-for-btrfs-convert.patch
@ -77,6 +78,7 @@ build applications to interface with btrfs.
%patch10 -p1
%patch12 -p1
%patch40 -p1
%patch1 -p1
%patch1000 -p1
%patch1001 -p1
%patch1002 -p1