lkml.org 
[lkml]   [2008]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 11/47] ecryptfs: fix missed mutex_unlock
    -stable review patch.  If anyone has any objections, please let us know.

    ------------------
    From: Cyrill Gorcunov <gorcunov@gmail.com>

    upstream commit: 71fd5179e8d1d4d503b517e0c5374f7c49540bfc

    Cc: Michael Halcrow <mhalcrow@us.ibm.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Signed-off-by: Chris Wright <chrisw@sous-sol.org>
    ---
    fs/ecryptfs/crypto.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/fs/ecryptfs/crypto.c
    +++ b/fs/ecryptfs/crypto.c
    @@ -1907,9 +1907,9 @@ int ecryptfs_get_tfm_and_mutex_for_ciphe
    goto out;
    }
    }
    - mutex_unlock(&key_tfm_list_mutex);
    (*tfm) = key_tfm->key_tfm;
    (*tfm_mutex) = &key_tfm->key_tfm_mutex;
    out:
    + mutex_unlock(&key_tfm_list_mutex);
    return rc;
    }
    --


    \
     
     \ /
      Last update: 2008-06-14 02:19    [W:4.115 / U:0.040 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site