diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-02-05 17:09:15 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-05-01 16:07:39 +0300 |
commit | e175c89c4286b30b647db54222e8e7ac98148b6c (patch) | |
tree | c240253fc67829d395740ff69b66a21462e39ba2 /zfs.patch | |
parent | Toggle config setting (diff) | |
download | linux-ck-e175c89c4286b30b647db54222e8e7ac98148b6c.tar.xz |
Fix zfs-dkms breakage due to GPL zealotry
Diffstat (limited to 'zfs.patch')
-rw-r--r-- | zfs.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/zfs.patch b/zfs.patch new file mode 100644 index 0000000..7df5914 --- /dev/null +++ b/zfs.patch @@ -0,0 +1,20 @@ +--- a/kernel/rcu/tree_plugin.h ++++ b/kernel/rcu/tree_plugin.h +@@ -360,7 +360,7 @@ + WARN_ON_ONCE(current->rcu_read_lock_nesting > RCU_NEST_PMAX); + barrier(); /* critical section after entry code. */ + } +-EXPORT_SYMBOL_GPL(__rcu_read_lock); ++EXPORT_SYMBOL(__rcu_read_lock); + + /* + * Preemptible RCU implementation for rcu_read_unlock(). +@@ -390,7 +390,7 @@ + WARN_ON_ONCE(rrln < 0 && rrln > RCU_NEST_NMAX); + } + } +-EXPORT_SYMBOL_GPL(__rcu_read_unlock); ++EXPORT_SYMBOL(__rcu_read_unlock); + + /* + * Advance a ->blkd_tasks-list pointer to the next entry, instead |