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

staging/lustre: Remove users of OBD_ALLOC/FREE_PTR lu_object.h



These are converted to regular kzalloc/kfree calls.

Signed-off-by: default avatarOleg Drokin <oleg.drokin@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f6173fe0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1126,7 +1126,7 @@ struct lu_context_key {
								  \
		CLASSERT(PAGE_CACHE_SIZE >= sizeof (*value));       \
								  \
		OBD_ALLOC_PTR(value);			     \
		value = kzalloc(sizeof(*value), GFP_NOFS);	\
		if (value == NULL)				\
			value = ERR_PTR(-ENOMEM);		 \
								  \
@@ -1140,7 +1140,7 @@ struct lu_context_key {
	{								   \
		type *info = data;					  \
									    \
		OBD_FREE_PTR(info);					 \
		kfree(info);					 \
	}								   \
	struct __##mod##__dummy_fini {; } /* semicolon catcher */