]> granicus.if.org Git - spl/commit
Strip __GFP_ZERO from kmalloc it is not available for older kernels.
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 23 Dec 2009 20:57:10 +0000 (12:57 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 23 Dec 2009 20:57:10 +0000 (12:57 -0800)
commitef1c7a069131512458be75aae1e4857fcd8f133b
tree3c80cec225cb181bde7032eec33d6f6c20b9e701
parent641bebe35f0675489357fd2db5d20e1bfc055648
Strip __GFP_ZERO from kmalloc it is not available for older kernels.

This is needed to avoid a BUG_ON() on RHEL5.4 kernel 2.6.18-164.6.1,
since __GFP_ZERO is not a valid flag for kmalloc().
module/spl/spl-kmem.c