diff options
author | Vivek Goyal <[email protected]> | 2012-02-08 20:03:39 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2012-02-08 20:03:39 +0100 |
commit | 4609dff6b5d11e1ed5ff935e15f9f6022acb312b (patch) | |
tree | b1ffb94d7247ad6ba70e8d76800907a6450f7ebd /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 3f9a5aabd0a9fe0e0cd308506f48963d79169aa7 (diff) |
floppy: Fix a crash during rmmod
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-and-tested-by: Dirk Gouders <[email protected]>
Signed-off-by: Vivek Goyal<[email protected]>
Acked-by: Tejun Heo <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions