zfs: Fix minor filesystem corruption with gcc 4.8

It turns out that some of gcc 4.8's aggressive optimizations may
cause minor filesystem corruption in ZFS. To fix it, a patch was
cherry-picked from the upstream's git tree.

See: https://github.com/zfsonlinux/zfs/pull/2051
This commit is contained in:
Ricardo M. Correia
2014-03-04 12:58:11 +01:00
parent 02e2431661
commit d01242edb8
2 changed files with 115 additions and 1 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ stdenv.mkDerivation {
sha256 = "18b5f18k8mwb17r5ippsilmp1a2sqjw9fwn0z82159dkhsadg33b";
};
patches = [ ./mount_zfs_prefix.patch ./nix-build.patch ./libblkid-1db7b9b.patch ];
patches = [ ./mount_zfs_prefix.patch ./nix-build.patch ./libblkid-1db7b9b.patch ./gcc-4.8.patch ];
buildInputs = [ spl perl autoconf automake libtool zlib libuuid coreutils ];