summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorRichard Yao <[email protected]>2019-08-13 09:46:12 -0400
committerBrian Behlendorf <[email protected]>2019-08-13 07:46:12 -0600
commitfccbd1d6e2e0a95511ad3e1c743b98bf31a6b6c9 (patch)
tree9ec8a7ac2c9f23f0970d995b5c22b9e8ccb32552 /module
parent3b9edd7b171f510b0abb9c885aa5b77114b8169a (diff)
Drop KMC_NOEMERGENCY
This is not implemented. If it were implemented, using it would risk deadlocks on pre-3.18 kernels. Lets just drop it. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Michael Niewöhner <[email protected]> Signed-off-by: Richard Yao <[email protected]> Closes #9119
Diffstat (limited to 'module')
-rw-r--r--module/spl/spl-zlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/spl/spl-zlib.c b/module/spl/spl-zlib.c
index 229e6a44b..62423343c 100644
--- a/module/spl/spl-zlib.c
+++ b/module/spl/spl-zlib.c
@@ -202,7 +202,7 @@ spl_zlib_init(void)
zlib_workspace_cache = kmem_cache_create(
"spl_zlib_workspace_cache",
size, 0, NULL, NULL, NULL, NULL, NULL,
- KMC_VMEM | KMC_NOEMERGENCY);
+ KMC_VMEM);
if (!zlib_workspace_cache)
return (1);