]> git.baikalelectronics.ru Git - kernel.git/commit
staging: lustre: cfs_percpt_alloc: use kvmalloc(GFP_KERNEL)
authorNeilBrown <neilb@suse.com>
Tue, 9 Jan 2018 01:19:38 +0000 (12:19 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Jan 2018 14:41:57 +0000 (15:41 +0100)
commitbb448ab7927cc3a8fefd85e8ddb7327cb5f6a410
tree1776460d53c443d9be81a8780352237169e3a2eb
parenta4d48e1a7e03f3f27dec2b93c6252907c7826554
staging: lustre: cfs_percpt_alloc: use kvmalloc(GFP_KERNEL)

this allocation is called from several places, but all are
during initialization, so GFP_NOFS is not needed.
So use kvmalloc and GFP_KERNEL.

Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/libcfs/libcfs_mem.c