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 <oleg.drokin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Oleg Drokin 2015-09-16 12:27:01 -04:00 committed by Greg Kroah-Hartman
parent 781c848aa3
commit 1089175c9c

View file

@ -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 */