Commit d37c8781 authored by Oleg Drokin's avatar Oleg Drokin Committed by Greg Kroah-Hartman
Browse files

staging/lustre/obdclass: replace OBD_ALLOC_GFP with kzalloc



Part of getting rid of custom Lustre allocation macros.

Signed-off-by: default avatarOleg Drokin <oleg.drokin@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent af13af52
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -283,8 +283,7 @@ static struct cl_page *cl_page_alloc(const struct lu_env *env,
	struct cl_page	  *page;
	struct lu_object_header *head;

	OBD_ALLOC_GFP(page, cl_object_header(o)->coh_page_bufsize,
			GFP_NOFS);
	page = kzalloc(cl_object_header(o)->coh_page_bufsize, GFP_NOFS);
	if (page != NULL) {
		int result = 0;