]> git.proxmox.com Git - mirror_zfs.git/commit
Check for __GFP_RECLAIM instead of GFP_KERNEL
authorMichael Niewöhner <foss@mniewoehner.de>
Tue, 6 Aug 2019 11:28:56 +0000 (13:28 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 13 Nov 2019 18:05:23 +0000 (10:05 -0800)
commit8aaa10a9a059589ca8a57c3e91c12ad520fb6f30
tree42772ea8f0925e80dae406523147c2e095f699f4
parent6d948c3519ab7a52c06f68927737a3199ba13f81
Check for __GFP_RECLAIM instead of GFP_KERNEL

Check for __GFP_RECLAIM instead of GFP_KERNEL because zfs modifies
IO and FS flags which breaks the check for GFP_KERNEL.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Matt Ahrens <matt@delphix.com>
Reviewed-by: Sebastian Gottschall <s.gottschall@dd-wrt.com>
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Closes #9034
module/os/linux/spl/spl-kmem.c