Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161229AbVKRVCB (ORCPT ); Fri, 18 Nov 2005 16:02:01 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1161228AbVKRVCB (ORCPT ); Fri, 18 Nov 2005 16:02:01 -0500 Received: from ns.virtualhost.dk ([195.184.98.160]:13107 "EHLO virtualhost.dk") by vger.kernel.org with ESMTP id S1161225AbVKRVCA (ORCPT ); Fri, 18 Nov 2005 16:02:00 -0500 Date: Fri, 18 Nov 2005 22:03:00 +0100 From: Jens Axboe To: mikem Cc: akpm@osdl.org, jgarzick@pobox.com, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org Subject: Re: [PATCH 3/3] cciss: add put_disk into cleanup routines Message-ID: <20051118210300.GD25454@suse.de> References: <20051118174655.GA22116@beardog.cca.cpqcorp.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051118174655.GA22116@beardog.cca.cpqcorp.net> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 569 Lines: 18 On Fri, Nov 18 2005, mikem wrote: > Patch 3 of 3 > > 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. Thanks, applied. -- Jens Axboe - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/