From: Oleg Drokin Date: Wed, 16 Sep 2015 16:27:01 +0000 (-0400) Subject: staging/lustre/ptlrpc: Replace OBD_FREE_PTR with kfree X-Git-Tag: KARO-TX6UL-2015-11-03~34^2~1941 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1089175c9c99e5cd8378b19a5a90bc0076b9151f;p=karo-tx-linux.git staging/lustre/ptlrpc: Replace OBD_FREE_PTR with kfree Part of effort of getting rid of custom Lustre alloc/free macros Signed-off-by: Oleg Drokin Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lustre/ptlrpc/ptlrpc_internal.h b/drivers/staging/lustre/lustre/ptlrpc/ptlrpc_internal.h index 1d64ca71920c..34c7e28afdaf 100644 --- a/drivers/staging/lustre/lustre/ptlrpc/ptlrpc_internal.h +++ b/drivers/staging/lustre/lustre/ptlrpc/ptlrpc_internal.h @@ -298,6 +298,6 @@ static inline void tgt_mod_exit(void) static inline void ptlrpc_reqset_put(struct ptlrpc_request_set *set) { if (atomic_dec_and_test(&set->set_refcount)) - OBD_FREE_PTR(set); + kfree(set); } #endif /* PTLRPC_INTERNAL_H */