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

staging/lustre/ptlrpc: Replace OBD_FREE_PTR with kfree



Part of effort of getting rid of custom Lustre alloc/free macros

Signed-off-by: default avatarOleg Drokin <oleg.drokin@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 781c848a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */