Linux 3.3.3
This incorporates the btrfs fix, so remove that patch. Also, I will test that this builds after committing, and fix it if it fails svn path=/nixpkgs/trunk/; revision=33885
This commit is contained in:
parent
50cab85e88
commit
50a0b839af
@ -1,21 +0,0 @@
|
||||
Revert of http://git.kernel.org/?p=linux/kernel/git/mason/linux-btrfs.git;a=commit;h=5500cdbe14d7435e04f66ff3cfb8ecd8b8e44ebf
|
||||
|
||||
Btrfs mailing list where this patch comes from:
|
||||
http://article.gmane.org/gmane.comp.file-systems.btrfs/16650
|
||||
|
||||
This change caused early ENOSPC, and should be integrated to some linux 3.3, but it is still
|
||||
not there. That's what #btrfs people say.
|
||||
|
||||
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
|
||||
index dc083f5..079e5a1 100644
|
||||
--- a/fs/btrfs/extent-tree.c
|
||||
+++ b/fs/btrfs/extent-tree.c
|
||||
@@ -4108,7 +4108,7 @@ static u64 calc_global_metadata_size(struct btrfs_fs_info *fs_info)
|
||||
num_bytes += div64_u64(data_used + meta_used, 50);
|
||||
|
||||
if (num_bytes * 3 > meta_used)
|
||||
- num_bytes = div64_u64(meta_used, 3) * 2;
|
||||
+ num_bytes = div64_u64(meta_used, 3);
|
||||
|
||||
return ALIGN(num_bytes, fs_info->extent_root->leafsize << 10);
|
||||
}
|
@ -233,7 +233,7 @@ in
|
||||
import ./generic.nix (
|
||||
|
||||
rec {
|
||||
version = "3.3.2";
|
||||
version = "3.3.3";
|
||||
testing = false;
|
||||
|
||||
preConfigure = ''
|
||||
@ -242,7 +242,7 @@ import ./generic.nix (
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/kernel/v3.x/${if testing then "testing/" else ""}linux-${version}.tar.xz";
|
||||
sha256 = "19paxvcs3bj32j5fp4ibx963la30p0331w7zvg3zcwmx0ml9pn9y";
|
||||
sha256 = "1i0wxn40iwv4pl3azqq1dhzxi0sxfk4na3lrl9n8k5aip74yqyfb";
|
||||
};
|
||||
|
||||
config = configWithPlatform stdenv.platform;
|
||||
|
@ -359,9 +359,4 @@ rec {
|
||||
name = "guruplug-arch-number";
|
||||
patch = ./guruplug-mach-type.patch;
|
||||
};
|
||||
|
||||
btrfs_enospc =
|
||||
{ name = "btrfs-enospc-3.3-revert";
|
||||
patch = ./btrfs-enospc.patch;
|
||||
};
|
||||
}
|
||||
|
@ -5736,7 +5736,6 @@ let
|
||||
kernelPatches.sec_perm_2_6_24
|
||||
kernelPatches.aufs3_3
|
||||
kernelPatches.efi_bootstub_config_3_3
|
||||
kernelPatches.btrfs_enospc
|
||||
];
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user