Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 24 Mar 2003 02:21:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 24 Mar 2003 02:21:54 -0500 Received: from angband.namesys.com ([212.16.7.85]:49290 "HELO angband.namesys.com") by vger.kernel.org with SMTP id ; Mon, 24 Mar 2003 02:21:53 -0500 Date: Mon, 24 Mar 2003 10:32:55 +0300 From: Oleg Drokin To: Christoph Hellwig , torvalds@transmeta.com, linux-kernel@vger.kernel.org Cc: jdike@karaya.com, user-mode-linux-devel@lists.sourceforge.net Subject: Re: [PATCH] devfs_mk_symlink simplification Message-ID: <20030324103255.A20753@namesys.com> References: <20030322183938.B21623@lst.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030322183938.B21623@lst.de> User-Agent: Mutt/1.3.22.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 954 Lines: 27 Hello! On Sat, Mar 22, 2003 at 06:39:38PM +0100, Christoph Hellwig wrote: > All devfs_mk_symlink arguments except the from and to strings are > unused. Bring the prototype in shape. This patch is needed in UML subtree now: Bye, Oleg ===== arch/um/drivers/ubd_kern.c 1.33 vs edited ===== --- 1.33/arch/um/drivers/ubd_kern.c Mon Mar 24 09:42:10 2003 +++ edited/arch/um/drivers/ubd_kern.c Mon Mar 24 10:26:25 2003 @@ -577,7 +577,7 @@ sprintf(link, "ubd/disc%d", n); /* and we link it to /dev/ubd/discN */ - devfs_mk_symlink(NULL, link, DEVFS_FL_DEFAULT, real, NULL, NULL); + devfs_mk_symlink(link, real); if (fake_major != MAJOR_NR) { /* /dev/fakeN style names */ sprintf(real, "fake%d",n); - 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/