summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleg Drokin2015-09-16 18:27:01 +0200
committerGreg Kroah-Hartman2015-09-17 05:32:12 +0200
commit1089175c9c99e5cd8378b19a5a90bc0076b9151f (patch)
treec2ad1203779f146f6410dfed63558203c6ce80dd
parentstaging/lustre: Convert lustre_cfg_new/free to use kzalloc/kfree (diff)
downloadkernel-qcow2-linux-1089175c9c99e5cd8378b19a5a90bc0076b9151f.tar.gz
kernel-qcow2-linux-1089175c9c99e5cd8378b19a5a90bc0076b9151f.tar.xz
kernel-qcow2-linux-1089175c9c99e5cd8378b19a5a90bc0076b9151f.zip
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>
-rw-r--r--drivers/staging/lustre/lustre/ptlrpc/ptlrpc_internal.h2
1 files changed, 1 insertions, 1 deletions
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 */