lkml.org 
[lkml]   [2006]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 1/2] sunrpc: add missing spin_unlock
    auth_domain_put() forgot to unlock acquired spinlock.

    Cc: Olaf Kirch <okir@monad.swb.de>
    Cc: Andy Adamson <andros@citi.umich.edu>
    Cc: J. Bruce Fields <bfields@citi.umich.edu>
    Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
    Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>

    Index: work-fault-inject/net/sunrpc/svcauth.c
    ===================================================================
    --- work-fault-inject.orig/net/sunrpc/svcauth.c
    +++ work-fault-inject/net/sunrpc/svcauth.c
    @@ -126,6 +126,7 @@ void auth_domain_put(struct auth_domain
    if (atomic_dec_and_lock(&dom->ref.refcount, &auth_domain_lock)) {
    hlist_del(&dom->hash);
    dom->flavour->domain_release(dom);
    + spin_unlock(&auth_domain_lock);
    }
    }

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/
    \
     
     \ /
      Last update: 2006-10-29 14:39    [W:0.020 / U:0.220 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site