]> granicus.if.org Git - zfs/commit
Fix GFP_KERNEL allocations flags
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 21 Jan 2015 17:21:51 +0000 (09:21 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 21 Jan 2015 23:25:19 +0000 (15:25 -0800)
commit54cccfc2e30fa84463c056e8ad04b2be9448999e
tree9597dcbf03cfa887b710cc294baa7fbeef3723dc
parent9099312977e994f8638eb1d93fd92a5cd66b8ea6
Fix GFP_KERNEL allocations flags

The kmem_vasprintf(), kmem_vsprintf(), kobj_open_file(), and vn_openat()
functions should all use the kmem_flags_convert() function to generate
the GFP_* flags.  This ensures that they can be safely called in any
context and the correct flags will be used.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #426
module/spl/spl-kmem.c
module/spl/spl-kobj.c
module/spl/spl-vnode.c