mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 23:58:05 +00:00
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:
parent
781c848aa3
commit
1089175c9c
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue