Skip to contentSkip to conversation

make check.c compile in 2.5.38 with DevFS

PATCH New Martin Loschwitz 1 participant 1 message Sep 22, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make check.c compile in 2.5.38 with DevFS

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

fs/partitions/check.c 2002-09-22 17:43:58.000000000 +0200 renamed from fs/partitions/check.c 2002-09-22 06:25:06.000000000 +0200 +1 -1
diff -ruN linux-2.5.38/fs/partitions/check.c linux-2.5.38-new/fs/partitions/check.c
@@ -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);
Signature · 4 lines
  .''`.   Name: Martin Loschwitz
 : :'  :  E-Mail: [email protected]
 `. `'`   www: http://www.madkiss.org/ 
   `-     Use Debian GNU/Linux - http://www.debian.org