From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Kleen Subject: Re: Linux 3.0 oopses when pulling a USB CDROM Date: Sat, 2 Jul 2011 19:05:54 +0200 Message-ID: <20110702170554.GJ23059@one.firstfloor.org> References: <1309554818.2722.48.camel@mulgrave> <20110702060846.GH23059@one.firstfloor.org> <1309609482.2554.8.camel@mulgrave> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1309609482.2554.8.camel@mulgrave> Sender: linux-kernel-owner@vger.kernel.org To: James Bottomley Cc: Andi Kleen , Alan Stern , Dave Jones , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, axboe@kernel.dk, rjw@sisk.pl, linux-usb@vger.kernel.org List-Id: linux-scsi@vger.kernel.org > Which goes from the device unplug to the oops. However, there are puts > missing from this; particularly the one where the reference goes to > zero. The count was always one off because it dumps it before the actual put. -Andi -- ak@linux.intel.com -- Speaking for myself only.