public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] make check.c compile in 2.5.38 with DevFS
@ 2002-09-22 16:26 Martin Loschwitz
  0 siblings, 0 replies; only message in thread
From: Martin Loschwitz @ 2002-09-22 16:26 UTC (permalink / raw)
  To: linux-kernel; +Cc: torvalds

The following patch was necessary for me to get fs/partitions/check.c
compiling with DevFS.

diff -ruN linux-2.5.38/fs/partitions/check.c linux-2.5.38-new/fs/partitions/check.c
--- linux-2.5.38/fs/partitions/check.c  2002-09-22 06:25:06.000000000 +0200
+++ linux-2.5.38-new/fs/partitions/check.c      2002-09-22 17:43:58.000000000 +0200
@@ -362,7 +362,7 @@
                pos = devfs_generate_path(dev->disk_de, rname+3, sizeof(rname)-3);
                if (pos >= 0) {
                        strncpy(rname + pos, "../", 3);
-                       devfs_mk_symlink(devfs_handle, vname,
+                       devfs_mk_symlink(cdroms, vname,
                                         DEVFS_FL_DEFAULT,
                                         rname + pos, &slave, NULL);
                        devfs_auto_unregister(dev->de, slave);

-- 
  .''`.   Name: Martin Loschwitz
 : :'  :  E-Mail: madkiss@madkiss.org
 `. `'`   www: http://www.madkiss.org/ 
   `-     Use Debian GNU/Linux - http://www.debian.org    

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-09-22 16:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-22 16:26 [PATCH] make check.c compile in 2.5.38 with DevFS Martin Loschwitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox