lkml.org 
[lkml]   [2003]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH] devfs_mk_symlink simplification
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/
\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.034 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site