Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964923AbVKVL41 (ORCPT ); Tue, 22 Nov 2005 06:56:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964925AbVKVL41 (ORCPT ); Tue, 22 Nov 2005 06:56:27 -0500 Received: from zproxy.gmail.com ([64.233.162.202]:65157 "EHLO zproxy.gmail.com") by vger.kernel.org with ESMTP id S964923AbVKVL40 convert rfc822-to-8bit (ORCPT ); Tue, 22 Nov 2005 06:56:26 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mB+3DpGU2yzQsjD1t1KjH5HEznWnkLWmNMbQo+bngNQQNg8t67d3L37BAe3HW06Ne1E7mWDNd6p3xtukTrM8odtC6ZSYlfr2AYSH99MNQgfBq8n08OtWp+POkLh9tbNQoG96loGKuLFCifKiR6eC8RG9nokmjqJ0DSOIrsInguM= Message-ID: <35fb2e590511220356x75a951f1t8a36d0556a940751@mail.gmail.com> Date: Tue, 22 Nov 2005 11:56:25 +0000 From: Jon Masters Reply-To: jonathan@jonmasters.org To: Andrew Morton Subject: Re: floppy regression from "[PATCH] fix floppy.c to store correct ..." Cc: cp@absolutedigital.net, linux-kernel@vger.kernel.org, jcm@jonmasters.org, torvalds@osdl.org, viro@ftp.linux.org.uk, hch@lst.de In-Reply-To: <20051121233131.793f0d04.akpm@osdl.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Content-Disposition: inline References: <20051116005958.25adcd4a.akpm@osdl.org> <20051119034456.GA10526@apogee.jonmasters.org> <20051121233131.793f0d04.akpm@osdl.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 788 Lines: 18 On 11/22/05, Andrew Morton wrote: > That still does the wrong thing. Put in a write-protected floppy, try to > write to it and it says -EROFS. Then pop the WP switch and try to > write to it again and it wrongly claims EPERM. A second attempt to > write will succeed. The problem is that we need to wait until the floppy driver next checks the read status on the drive. I think to get it completely right will take moving bits of the floppy driver around, unless I'm being stupid. I'm planning to do that too though. Jon. - 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/