Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265452AbUA1BAj (ORCPT ); Tue, 27 Jan 2004 20:00:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265687AbUA1BAi (ORCPT ); Tue, 27 Jan 2004 20:00:38 -0500 Received: from mail2-116.ewetel.de ([212.6.122.116]:8691 "EHLO mail2.ewetel.de") by vger.kernel.org with ESMTP id S265452AbUA1BAd (ORCPT ); Tue, 27 Jan 2004 20:00:33 -0500 Date: Wed, 28 Jan 2004 02:00:30 +0100 (CET) From: Pascal Schmidt To: Jens Axboe cc: linux-kernel@vger.kernel.org Subject: Re: MO: opening for write in cdrom.c In-Reply-To: <20040128000216.GD11683@suse.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-CheckCompat: OK Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 656 Lines: 20 On Wed, 28 Jan 2004, Jens Axboe wrote: > Alright, this is your version plus write protect io error handling. > Could you check if this works for you? Works for me. I've tested the fallback by making mo_open_write always succeed and then inserting a write-protected disc. I now only get one error report from the drive, the rest of the writes are correctly denied before hitting the drive. -- Ciao, Pascal - 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/