lkml.org 
[lkml]   [2012]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Slab corruption in floppy driver module
    On Fri, Jan 27, 2012 at 02:54:55PM -0500, Vivek Goyal wrote:
    > floppy: Fix a crash during rmmmod
    >
    > floppy driver does not call add_disk() on all the drives hence we don't take
    > gendisk reference on request queue for these drives. Don't call put_disk()
    > with disk->queue set, otherwise we try to put the reference we never took.
    >
    > Reported-by: Dirk Gouders <gouders@et.bocholt.fh-gelsenkirchen.de>
    > Signed-off-by: Vivek Goyal<vgoyal@redhat.com>

    Ugh... floppy init is ugly. Thanks for fixing this.

    Acked-by: Tejun Heo <tj@kernel.org>

    Jens, this one and the previous one are regression fixes and need to
    be routed through v3.3-fixes.

    --
    tejun


    \
     
     \ /
      Last update: 2012-01-29 20:39    [W:2.162 / U:0.076 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site