lkml.org 
[lkml]   [2015]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v2 10/19] staging/lustre/ptlrpc: Replace OBD_FREE_PTR with kfree
    Date
    From: Oleg Drokin <green@linuxhacker.ru>

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

    Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
    ---
    drivers/staging/lustre/lustre/ptlrpc/ptlrpc_internal.h | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/staging/lustre/lustre/ptlrpc/ptlrpc_internal.h b/drivers/staging/lustre/lustre/ptlrpc/ptlrpc_internal.h
    index 1d64ca7..34c7e28 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 */
    --
    2.1.0


    \
     
     \ /
      Last update: 2015-09-16 19:01    [W:4.678 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site