Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 3 Oct 2002 10:54:10 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 3 Oct 2002 10:54:09 -0400 Received: from pizda.ninka.net ([216.101.162.242]:65490 "EHLO pizda.ninka.net") by vger.kernel.org with ESMTP id ; Thu, 3 Oct 2002 10:54:08 -0400 Date: Thu, 03 Oct 2002 07:52:24 -0700 (PDT) Message-Id: <20021003.075224.27940200.davem@redhat.com> To: willy@debian.org Cc: torvalds@transmeta.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Start of cleaning up socket ioctls From: "David S. Miller" In-Reply-To: <20021003155241.G28586@parcelfarce.linux.theplanet.co.uk> References: <20021003155241.G28586@parcelfarce.linux.theplanet.co.uk> X-FalunGong: Information control. X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 630 Lines: 14 From: Matthew Wilcox Date: Thu, 3 Oct 2002 15:52:41 +0100 All the ioctls are passed to the socket's ioctl methods, even when they're utterly generic. Here's a patch which starts to move the really generic ones up to the top level. As you can see, this eliminates a huge amount of code duplication. Looks fine, I'll apply this and push to Linus. - 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/