Backport zfs 5.8 compaitibility patch to zfs 0.8.4

Adding this patch makes zfs compile against 5.8-rc7 kernels.

Upstream PR: https://github.com/openzfs/zfs/pull/10422
Modifications:
- spl_kvmalloc does not exists in zfs 0.8.4 - related code was dropped.
This commit is contained in:
rtreffer
2020-07-31 21:02:36 +02:00
parent 0645303fb8
commit 08566523d8
2 changed files with 155 additions and 1 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ let
inherit rev sha256;
};
patches = [ ] ++ extraPatches;
patches = [ ./BACKPORT-Linux-5.8-compat-__vmalloc.patch ] ++ extraPatches;
postPatch = optionalString buildKernel ''
patchShebangs scripts