https://github.com/torvalds/linux
Revision 6f5a0f7c955d3567f800fa36f978758cb5b99aa2 authored by mikem on 18 November 2005, 21:05:36 UTC, committed by Jens Axboe on 18 November 2005, 21:05:36 UTC
Jeff Garzik pointed me to his code to see how to remove a disk from
the system _properly_. Well, here it is...
Every place we remove disks we are now testing before calling del_gendisk
or blk_cleanup_queue and then call put_disk.

Signed-off-by: Mike Miller <mike.miller@hp.com>
Signed-off-by: Jens Axboe <axboe@suse.de>
1 parent 15534d3
History
Tip revision: 6f5a0f7c955d3567f800fa36f978758cb5b99aa2 authored by mikem on 18 November 2005, 21:05:36 UTC
[PATCH 3/3] cciss: add put_disk into cleanup routines
Tip revision: 6f5a0f7
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 391 bytes
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 87.2 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 61.2 KB
Makefile -rw-r--r-- 42.8 KB
README -rw-r--r-- 14.7 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top