lkml.org 
[lkml]   [2013]   [Dec]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3.4 25/60] ext4: avoid bh leak in retry path of ext4_expand_extra_isize_ea()
    Date
    3.4-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Theodore Ts'o <tytso@mit.edu>

    commit dcb9917ba041866686fe152850364826c4622a36 upstream.

    Reported-by: Dave Jones <davej@redhat.com>
    Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    fs/ext4/xattr.c | 1 +
    1 file changed, 1 insertion(+)

    --- a/fs/ext4/xattr.c
    +++ b/fs/ext4/xattr.c
    @@ -1270,6 +1270,7 @@ retry:
    new_extra_isize = s_min_extra_isize;
    kfree(is); is = NULL;
    kfree(bs); bs = NULL;
    + brelse(bh);
    goto retry;
    }
    error = -1;



    \
     
     \ /
      Last update: 2013-12-02 23:21    [W:2.627 / U:0.736 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site