]> git.baikalelectronics.ru Git - kernel.git/commit
staging: lustre: lnet: discard CFS_ALLOC_PTR
authorNeilBrown <neilb@suse.com>
Mon, 18 Dec 2017 00:46:30 +0000 (11:46 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Jan 2018 15:03:45 +0000 (16:03 +0100)
commitc290af91be69616be2457e52e9a7cf91c0472068
tree80f1a3ff85b5f35d80e09db483a74a082317a7d8
parentdd7f46fef3382577f31f8c410d72a8748c7dba0d
staging: lustre: lnet: discard CFS_ALLOC_PTR

These trivial wrappers hurt readability and
as they use kvmalloc, they are overly generic.

So discard them and use kmalloc/kfree as is
normal in Linux.

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