Files
linux-stable-mirror/include/linux
Bartlomiej Zolnierkiewicz 8fed436841 ide: fix refcounting in device drivers
During host driver module removal del_gendisk() results in a final
put on drive->gendev and freeing the drive by drive_release_dev().

Convert device drivers from using struct kref to use struct device
so device driver's object holds reference on ->gendev and prevents
drive from prematurely going away.

Also fix ->remove methods to not erroneously drop reference on a
host driver by using only put_device() instead of ide*_put().

Reported-by: Stanislaw Gruszka <stf_xl@wp.pl>
Tested-by: Stanislaw Gruszka <stf_xl@wp.pl>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2009-02-25 20:28:24 +01:00
..
2009-01-30 19:50:25 +05:30
2009-01-30 19:59:53 +05:30
2009-01-30 23:30:42 +05:30
2009-01-30 23:32:45 +05:30
2009-01-30 23:37:37 +05:30
2009-01-30 23:38:03 +05:30
2009-02-02 22:45:10 -05:00
2009-01-30 23:38:37 +05:30
2009-01-30 23:39:42 +05:30
2009-01-30 23:40:06 +05:30
2009-02-18 10:32:00 +01:00
2009-01-30 23:44:08 +05:30
2009-02-05 16:48:53 +11:00
2009-01-28 07:50:14 -08:00
2009-01-30 23:46:03 +05:30
2009-01-30 23:46:40 +05:30
2009-01-30 23:48:33 +05:30
2009-01-30 23:49:07 +05:30
2009-02-18 15:37:56 -08:00
2009-01-30 23:50:37 +05:30
2009-01-30 23:51:17 +05:30
2009-01-26 21:19:52 +01:00
2009-01-30 23:51:41 +05:30
2009-02-25 20:28:24 +01:00
2009-01-30 23:52:16 +05:30
2009-01-30 23:53:12 +05:30
2009-01-30 23:53:40 +05:30
2009-01-30 23:54:53 +05:30
2009-01-30 23:55:45 +05:30
2009-01-30 23:56:13 +05:30
2009-01-30 23:56:48 +05:30
2009-01-30 23:57:16 +05:30
2009-01-30 23:58:41 +05:30
2009-01-30 23:59:44 +05:30
2009-01-31 00:00:06 +05:30
2009-01-15 16:39:37 -08:00
2009-01-31 00:00:35 +05:30
2009-02-18 15:37:55 -08:00
2009-01-31 00:01:11 +05:30
2009-01-31 00:15:24 +05:30
2009-01-31 00:02:54 +05:30
2009-01-31 00:03:40 +05:30
2009-01-31 00:05:30 +05:30
2009-01-16 18:02:10 +01:00
2009-01-31 00:05:59 +05:30
2009-02-18 15:37:53 -08:00
2009-01-31 00:06:33 +05:30
2009-02-20 17:57:48 -08:00
2009-01-31 00:07:00 +05:30
2009-01-31 00:07:31 +05:30
2009-02-11 14:25:36 -08:00
2009-02-18 15:37:53 -08:00
2009-01-31 00:10:59 +05:30
2009-02-18 15:37:53 -08:00