Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 19 Feb 2002 15:32:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 19 Feb 2002 15:32:19 -0500 Received: from leibniz.math.psu.edu ([146.186.130.2]:15285 "EHLO math.psu.edu") by vger.kernel.org with ESMTP id ; Tue, 19 Feb 2002 15:31:24 -0500 Date: Tue, 19 Feb 2002 15:31:21 -0500 (EST) From: Alexander Viro To: Pavel Machek cc: kernel list Subject: Re: ENOTTY from ext3 code? In-Reply-To: <20020219190932.GA274@elf.ucw.cz> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 19 Feb 2002, Pavel Machek wrote: > Hi! > > ext3/ioctl.c: > > ... > return -ENOTTY; > > Does it really make sense to return "not a typewriter" from ext3 > ioctl? s/typewriter/teletype/ and ext3 indeed is not one (and thus shouldn't _have_ ioctl() in the first place). Seriously, -ENOTTY is normal error for "I don't know anything about that ioctl". - 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/